From: Anthony Geay Date: Thu, 28 Nov 2024 06:34:15 +0000 (+0100) Subject: [EDF31438] : fix unexpected kernel message X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;p=modules%2Fkernel.git [EDF31438] : fix unexpected kernel message --- diff --git a/src/Container/SALOME_Container.py b/src/Container/SALOME_Container.py index 8af9050a3..6b016f364 100644 --- a/src/Container/SALOME_Container.py +++ b/src/Container/SALOME_Container.py @@ -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