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: 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: =?ISO-8859-1?Q?Rafael_Dur=E1n_Casta=F1eda?= 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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