Reverted logger.py