modify log message.