Message89536
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. |
|
Date |
User |
Action |
Args |
2009-06-20 04:58:50 | alexl | set | recipients:
+ alexl |
2009-06-20 04:58:49 | alexl | set | messageid: <1245473929.89.0.283081310598.issue6314@psf.upfronthosting.co.za> |
2009-06-20 04:58:47 | alexl | link | issue6314 messages |
2009-06-20 04:58:45 | alexl | create | |
|