From 9164663600640bae15313a1ded5f92e78d135b50 Mon Sep 17 00:00:00 2001 From: Dror Levy Date: Tue, 3 Dec 2024 09:32:42 +0200 Subject: [PATCH] fix comments --- .../src/loganalyze/log_analyzers/console_log_analyzer.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py index 8e4c595e..bdb80583 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py @@ -28,7 +28,10 @@ def __init__( self.fix_lines_with_no_timestamp(logs_csvs) super().__init__(logs_csvs, hours, dest_image_path, sort_timestamp) self._log_data_sorted.dropna(subset=["data"], inplace=True) - self._funcs_for_analysis = {self.print_exceptions_per_time_count} + self._funcs_for_analysis = { + self.print_exceptions_per_time_count, + self.print_exceptions, + } @staticmethod def _extract_ufm_version(logs_csvs): @@ -105,7 +108,3 @@ def print_exceptions_per_time_count(self): "Amount of exceptions", "Exceptions count", ) - - def full_analysis(self): - self.print_exceptions() - super().full_analysis()