This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients tocomo, vinay.sajip
Date 2010-02-07.20:23:14
SpamBayes Score 1.0208863e-05
Marked as misclassified No
Message-id <1265574196.2.0.694699956708.issue7874@psf.upfronthosting.co.za>
In-reply-to
Content
The fact that the second call will do nothing is specifically documented:

http://docs.python.org/dev/library/logging.html#logging.basicConfig

"This function does nothing if the root logger already has handlers configured for it."

This behaviour is by design, and not an accident caused by "bad coding style". Please check the documentation before posting issues which are not real issues. Thanks.
History
Date User Action Args
2010-02-07 20:23:16vinay.sajipsetrecipients: + vinay.sajip, tocomo
2010-02-07 20:23:16vinay.sajipsetmessageid: <1265574196.2.0.694699956708.issue7874@psf.upfronthosting.co.za>
2010-02-07 20:23:14vinay.sajiplinkissue7874 messages
2010-02-07 20:23:14vinay.sajipcreate