]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF30062] : logging level is positionned independantly from verbose flag activated...
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 30 May 2024 07:58:41 +0000 (09:58 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 30 May 2024 07:58:41 +0000 (09:58 +0200)
src/Container/SALOME_Container.py

index 94c48e7c51cca03c29e8c870acbf9acbe6b364fa..bd267d4dc92d570538d01735be4e960ba10cf386 100644 (file)
@@ -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