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 alexl
Recipients alexl
Date 2009-06-20.04:58:45
SpamBayes Score 1.3481252e-07
Marked as misclassified No
Message-id <1245473929.89.0.283081310598.issue6314@psf.upfronthosting.co.za>
In-reply-to
Content
The following code runs w/o exceptions, but log file is empty:

import logging
logging.basicConfig(level='DEBUG', filename='log.txt')
logging.info('Oh hi!')

To avoid such silent error, basicConfig must either throw exception on 
invalid level parameter, or accept string values.
History
Date User Action Args
2009-06-20 04:58:50alexlsetrecipients: + alexl
2009-06-20 04:58:49alexlsetmessageid: <1245473929.89.0.283081310598.issue6314@psf.upfronthosting.co.za>
2009-06-20 04:58:47alexllinkissue6314 messages
2009-06-20 04:58:45alexlcreate