improve LogAnalyser and create LogComparator