doc: revisions to logger.py