From: Anthony Geay Date: Thu, 30 May 2024 07:58:41 +0000 (+0200) Subject: [EDF30062] : logging level is positionned independantly from verbose flag activated... X-Git-Tag: V9_13_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65052f834821a286ddfda05b8dc59e0a782e1778;p=modules%2Fkernel.git [EDF30062] : logging level is positionned independantly from verbose flag activated or not --- diff --git a/src/Container/SALOME_Container.py b/src/Container/SALOME_Container.py index 94c48e7c5..bd267d4dc 100644 --- a/src/Container/SALOME_Container.py +++ b/src/Container/SALOME_Container.py @@ -178,10 +178,9 @@ class SALOME_Container_Abstract_i(abc.ABC): return 1,"".join(l) def positionVerbosityOfLogger(self): + import salome_utils + salome_utils.positionVerbosityOfLoggerRegardingState() logging.debug("positionVerbosityOfLogger PID = {}".format(os.getpid())) - if VerbosityActivated(): - import salome_utils - salome_utils.positionVerbosityOfLoggerRegardingState() def monitoringtimeresms(self): return self._timeIntervalInMs