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 <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
This commit is contained in:
Alexander Zaft 2023-07-18 10:35:57 +02:00 committed by Markus Zolliker
parent 9ea6082ed8
commit 5168e0133d

View File

@ -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: