Decrease verbosity in LCM logs associated to kafka_read 71/14571/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 17 Sep 2024 09:38:51 +0000 (11:38 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 17 Sep 2024 09:39:05 +0000 (11:39 +0200)
Change-Id: I8f4124adfd8aaf9be936b00234dfb2a89b517ead
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/lcm.py

index 5982250..ba3ea7b 100644 (file)
@@ -1083,11 +1083,6 @@ class Lcm:
         )
         self.consecutive_errors = 0
         self.first_start = True
-        self.logger.info(
-            "Consecutive errors: {} first start: {}".format(
-                self.consecutive_errors, self.first_start
-            )
-        )
         while self.consecutive_errors < 10:
             try:
                 topics = (
@@ -1109,7 +1104,7 @@ class Lcm:
                     "oka",
                     "ksu",
                 )
-                self.logger.info(
+                self.logger.debug(
                     "Consecutive errors: {} first start: {}".format(
                         self.consecutive_errors, self.first_start
                     )