From 65052f834821a286ddfda05b8dc59e0a782e1778 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 30 May 2024 09:58:41 +0200 Subject: [PATCH] [EDF30062] : logging level is positionned independantly from verbose flag activated or not --- src/Container/SALOME_Container.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2