Cleaning up logger.