Update verbosity in logs from kafka_read_callback 90/14590/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 23 Sep 2024 08:12:22 +0000 (10:12 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 26 Sep 2024 09:39:10 +0000 (11:39 +0200)
Change-Id: I5258383dfbeb7f3efca5dbffadc10792a9aa3b2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_lcm/lcm.py

index ba3ea7b..44d5c88 100644 (file)
@@ -332,19 +332,19 @@ class Lcm:
 
     async def kafka_read_callback(self, topic, command, params):
         order_id = 1
-        self.logger.info(
+        self.logger.debug(
             "Topic: {} command: {} params: {} order ID: {}".format(
                 topic, command, params, order_id
             )
         )
         if topic != "admin" and command != "ping":
-            self.logger.debug(
+            self.logger.info(
                 "Task kafka_read receives {} {}: {}".format(topic, command, params)
             )
         self.consecutive_errors = 0
         self.first_start = False
         order_id += 1
-        self.logger.info(
+        self.logger.debug(
             "Consecutive error: {} First start: {}".format(
                 self.consecutive_errors, self.first_start
             )