cleanup log message