]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF31438] : fix unexpected kernel message master
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Nov 2024 06:34:15 +0000 (07:34 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Nov 2024 06:34:15 +0000 (07:34 +0100)
src/Container/SALOME_Container.py

index 8af9050a326de43a51c1492065cb7f61265d2e07..6b016f364b21f4ea431c39a1e5734efd0f20409e 100644 (file)
@@ -71,7 +71,8 @@ class SALOME_Container_Abstract_i(abc.ABC):
           # shouldn't be needed after python 3.8
           # see https://bugs.python.org/issue32573
           argv = ['']
-        logging.debug("Instanciation of {} PID = {}".format(containerName,os.getpid()))
+        if VerbosityActivated():
+          logging.debug("Instanciation of {} PID = {}".format(containerName,os.getpid()))
         self._orb = CORBA.ORB_init(argv, CORBA.ORB_ID)
         self._poa = self._orb.resolve_initial_references("RootPOA")
         self._containerName = containerName