anatoly techtonik <techto...@gmail.com> added the comment: 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')
---------- nosy: +techtonik _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com