Removing faulty log messages