Modify the log message to contain the log type.