cleanup log message.