Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5638
| From | Fei <mail2fei@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: python logging |
| Date | 2011-05-17 18:09 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <4e923309-d4a5-4fc2-9fdf-b4350e11eab8@z37g2000vbl.googlegroups.com> (permalink) |
| References | <049755c7-4238-438a-9b9b-9b3b7a3ebc87@s2g2000yql.googlegroups.com> <mailman.1725.1305672986.9059.python-list@python.org> |
On May 17, 6:55 pm, Ian Kelly <ian.g.ke...@gmail.com> wrote: > On Tue, May 17, 2011 at 2:55 PM, Fei <mail2...@gmail.com> 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. > > There is no default log file. You're seeing that because logging only > needs to be configured by the program once, not on a per-module basis. > Thus most modules will just do import logging on the assumption that > the configuration has already been performed somewhere else. > > If no logging configuration is done at all, then the logging > statements will have no effect. Thanks Ian.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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