From 5168e0133d1a77b05da1a7ff4c02d89e7e06a1f9 Mon Sep 17 00:00:00 2001 From: Alexander Zaft Date: Tue, 18 Jul 2023 10:35:57 +0200 Subject: [PATCH] dispatcher: change logging calls to debug Some logging calls should not have landed as log.info in the dynamic modules patch. This fixes that. Change-Id: I666fc7c9b5c65ddbed1c26ea456becce7870e744 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/31707 Tested-by: Jenkins Automated Tests Reviewed-by: Alexander Zaft --- frappy/protocol/dispatcher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappy/protocol/dispatcher.py b/frappy/protocol/dispatcher.py index b7858fe..37a4927 100644 --- a/frappy/protocol/dispatcher.py +++ b/frappy/protocol/dispatcher.py @@ -165,7 +165,7 @@ class Dispatcher: return modobj # also call earlyInit on the modules - self.log.info('initializing module %r', modulename) # TODO: change to debug + self.log.debug('initializing module %r', modulename) try: modobj.earlyInit() if not modobj.earlyInitDone: @@ -179,7 +179,7 @@ class Dispatcher: self.traceback_counter += 1 self.errors.append(f'error initializing {modulename}: {e!r}') modobj._isinitialized = True - self.log.info('initialized module %r', modulename) # TODO: change to debug + self.log.debug('initialized module %r', modulename) return modobj def get_module_instance(self, modulename): @@ -195,7 +195,7 @@ class Dispatcher: # it's actually already the module object return modulename # create module from srv.module_cfg, store and return - self.log.info('registering module %r', modulename) + self.log.debug('attempting to create module %r', modulename) opts = self.srv.module_cfg.get(modulename, None) if opts is None: