From: garciadeblas Date: Mon, 23 Sep 2024 08:12:22 +0000 (+0200) Subject: Update verbosity in logs from kafka_read_callback X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F14590%2F3;p=osm%2FLCM.git Update verbosity in logs from kafka_read_callback Change-Id: I5258383dfbeb7f3efca5dbffadc10792a9aa3b2e Signed-off-by: garciadeblas --- diff --git a/osm_lcm/lcm.py b/osm_lcm/lcm.py index ba3ea7b..44d5c88 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -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 )