clean log messages