Simple improvements to logging.