Tidy up log messages.