Clean-up logging.