Clean up the log messages a bit.