clean up log messages to improve readability