Clean up some logging messages.