1.implement loganalyzer.