Message106987
import logging
- LOG_FILENAME = '/tmp/logging_example.out'
+ LOG_FILENAME = 'example.log'
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
logging.debug('This message should go to the log file') |
|
Date |
User |
Action |
Args |
2010-06-03 21:51:01 | techtonik | set | recipients:
+ techtonik, eric.araujo, docs@python, Henri.Salo |
2010-06-03 21:51:01 | techtonik | set | messageid: <1275601861.59.0.287825433162.issue8890@psf.upfronthosting.co.za> |
2010-06-03 21:50:59 | techtonik | link | issue8890 messages |
2010-06-03 21:50:59 | techtonik | create | |
|