Clean up some logging.