Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5624

Re: python logging

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rafadurancastaneda@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'python': 0.07; 'received:74.125.82.174': 0.12; 'received:mail- wy0-f174.google.com': 0.12; 'wrote:': 0.14; 'subject:python': 0.15; 'asking.': 0.16; 'logging,': 0.16; 'subject:logging': 0.16; 'figure': 0.18; 'help.': 0.22; 'header:In-Reply-To:1': 0.22; 'example': 0.24; "i'm": 0.26; 'explains': 0.29; 'message- id:@gmail.com': 0.30; 'import': 0.32; 'to:addr:python-list': 0.32; 'asking': 0.32; 'url:docs': 0.33; 'from:charset:iso-8859-1': 0.33; 'received:192.168.1': 0.34; 'received:192': 0.34; 'file': 0.35; 'header:User-Agent:1': 0.35; 'begins': 0.35; 'received:192.168': 0.37; 'url:python': 0.37; 'logging': 0.38; 'received:google.com': 0.38; 'url:org': 0.38; 'log': 0.38; 'app': 0.39; 'docs': 0.39; 'to:addr:python.org': 0.39; 'where': 0.39; 'header:Received:5': 0.40; 'touch': 0.64; 'p.s.:': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Xi+9qNmWFkXuw5j5JzDkJYIvwHXytTDVZVtwFnrlmL0=; b=kLf0tS54FbH0BNAtw32M8/4xtuZGnwPLrGfz20yuiiBfxWQOPoUlOFdow0CqLtPAUS eZ4fx4qFXglNQp+4rplknsBvfCyVfj9DGUAG+zkgPaW6/5OezzlMo03yg0pI8UlJKwhG 8/R8/ewZZ8KVBZ2LTdSVSouaI+0vSp067Sn34=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=A8MjtojYh6YLRfCy3D5BrsneOzYIQsm3VDxfOwxA3RWZBdHUDa2wPuk4AX8BWHaILK hmLuMoHffn85RgG78DWzleTi2WGCO7Iwl4VFHUIl0BABLX3YSXnE++Pqf0ZxL0CoBppL ESEUEH3Anpw3WdDeLA0S48ggsx3QxRjhG1fRw=
Date Wed, 18 May 2011 00:00:58 +0200
From Rafael Durán Castañeda <rafadurancastaneda@gmail.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
MIME-Version 1.0
To python-list@python.org
Subject Re: python logging
References <049755c7-4238-438a-9b9b-9b3b7a3ebc87@s2g2000yql.googlegroups.com>
In-Reply-To <049755c7-4238-438a-9b9b-9b3b7a3ebc87@s2g2000yql.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1723.1305669666.9059.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 82.94.164.166
X-Trace 1305669666 news.xs4all.nl 49042 [::ffff:82.94.164.166]:50758
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5624

Show key headers only | View raw


On 17/05/11 22:55, Fei wrote:
> where is default logging file on Mac? I saw lots of app just import
> logging, and begins to logging.info(...) etc.  I'm not sure where to
> look at the logging configuration to figure out the log location.
>
> I just get in touch of python about 1month ago, and I appreciate your
> help.
Looking at python docs you will find:

http://docs.python.org/howto/logging.html#logging-basic-tutorial

First example explains what you are asking.

P.S.: Next time you may try to look for the info you need before asking

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python logging Fei <mail2fei@gmail.com> - 2011-05-17 13:55 -0700
  Re: python logging Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-05-18 00:00 +0200
  Re: python logging Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-17 16:55 -0600
    Re: python logging Fei <mail2fei@gmail.com> - 2011-05-17 18:09 -0700
      Re: python logging Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-05-18 21:42 +0200
      Re: python logging Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-18 15:29 -0600
      Re: python logging Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-05-19 00:01 +0200
      Re: python logging Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-18 16:10 -0600
        Re: python logging Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-18 15:27 -0700
      Re: python logging Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-05-19 00:21 +0200
      Re: python logging Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-18 16:37 -0600
      Re: python logging Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-18 16:42 -0600
        Re: python logging Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-19 02:27 -0700

csiph-web