From 0a43d22ef9ba36c48d920a0ec9396c1f9617b878 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 28 Nov 2024 07:34:15 +0100 Subject: [PATCH] [EDF31438] : fix unexpected kernel message --- src/Container/SALOME_Container.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2