Clean up log message