clean up of log file messages