From 58c6bd00cf5d1741dd671a0dd0777f18d0ed365e Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 19 Oct 2016 09:38:22 +0200 Subject: [PATCH] decrease verbosity of the launcher --- src/fileEnviron.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/fileEnviron.py b/src/fileEnviron.py index d88721c..ceddc96 100644 --- a/src/fileEnviron.py +++ b/src/fileEnviron.py @@ -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) -- 2.39.2