normalize log message