Change format of log message.