change the logging of the message