LogAnalysis final version