The modified LogAnalyser.java file