import logging logger = logging.getLogger(__name__) def test1(): logger.info('Ran log1.py test1()') return 1