]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
decrease verbosity of the launcher
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 19 Oct 2016 07:38:22 +0000 (09:38 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 19 Oct 2016 07:38:22 +0000 (09:38 +0200)
src/fileEnviron.py

index d88721cf3ea5b8e3b58f51560d56d76edb8a7b7a..ceddc9689a4db81afc4fa0ed092b632fa106fe3a 100644 (file)
@@ -677,7 +677,10 @@ def main(args):
     # context.addToLdLibraryPath('myldlibrarypath')
     # context.addToPythonPath('mypythonpath')
     # context.setVariable('myvarname', 'value')
-    
+
+    # Logger level error
+    context.getLogger().setLevel(40)
+
     context.setVariable(r"PRODUCT_ROOT_DIR", out_dir_Path, overwrite=True)
     # here your local standalone environment
 
@@ -685,6 +688,9 @@ def main(args):
     context.runSalome(args)
     #print 'Thank you for using SALOME!'
 
+    # Logger level info
+    context.getLogger().setLevel(20)
+
   except SalomeContextException, e:
     import logging
     logging.getLogger("salome").error(e)