log message format patch