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 tocomo
Recipients tocomo
Date 2010-02-07.14:51:42
SpamBayes Score 0.00013772697
Marked as misclassified No
Message-id <1265554303.97.0.0565819398913.issue7874@psf.upfronthosting.co.za>
In-reply-to
Content
logging.basicConfig should raise warning/eception on second call. Why?

logging.basicConfig(filename="/tmp/works.log")
logging.basicConfig(filename="/tmp/worksnot.log")

what do you think does happen? Right - logging goes to "/tmp/worksnot.log". But does not behave that way. The secound call does nothing. Simply bad coding style, an if without an else.

kind regards
Tobias
History
Date User Action Args
2010-02-07 14:51:44tocomosetrecipients: + tocomo
2010-02-07 14:51:43tocomosetmessageid: <1265554303.97.0.0565819398913.issue7874@psf.upfronthosting.co.za>
2010-02-07 14:51:42tocomolinkissue7874 messages
2010-02-07 14:51:42tocomocreate