updated comments in logger.py