logger.py: pep8