<reponame>bopopescu/Lauecollect<filename>test/test_logging.py
import logging
logging.basicConfig(filename='test_logging.log',level=logging.DEBUG)
logging.debug('This message should go to the log file')
logging.info('So should this')
logging.warning('And this, too')

import logging
logging.basicConfig(filename='test_logging.log',level=logging.DEBUG)
logging.debug('This message should go to the log file')
logging.info('So should this')
logging.warning('And this, too')