From: Nicolas CROUZET - SFME/LGLS Date: Thu, 26 Mar 2020 13:08:40 +0000 (+0100) Subject: display a message only on debug mode X-Git-Tag: V9_5_0a2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=da555afa978a51e9dcc1aa8aa1c2118adaed3483;p=modules%2Fkernel.git display a message only on debug mode --- diff --git a/bin/PortManager.py b/bin/PortManager.py index a00d49304..6ca830f8b 100644 --- a/bin/PortManager.py +++ b/bin/PortManager.py @@ -155,7 +155,7 @@ def getPort(preferredPort=None): with open(config_file, 'rb') as f: config = pickle.load(f) except: - logger.info("Problem loading PortManager file: %s"%config_file) + logger.debug("Problem loading PortManager file: %s"%config_file) # In this case config dictionary is reset logger.debug("load config: %s"%str(config))