Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c996a0a
)
launchConfigureParser.py: Setup gui log file via environment variable.
po/29467_gui_log_file
author
Pascal Obry
<pascal.obry@edf.fr>
Fri, 10 Mar 2023 15:42:50 +0000
(16:42 +0100)
committer
Pascal Obry
<pascal.obry@edf.fr>
Tue, 5 Sep 2023 13:34:11 +0000
(15:34 +0200)
This will make it easier to activate the usage logging in distributed
application.
bin/launchConfigureParser.py
patch
|
blob
|
history
diff --git
a/bin/launchConfigureParser.py
b/bin/launchConfigureParser.py
index 26b0913c076f08018c43a05a52e757d133f1ef71..5df821118b1ee84b7622dac613842526ef15046c 100644
(file)
--- a/
bin/launchConfigureParser.py
+++ b/
bin/launchConfigureParser.py
@@
-1045,6
+1045,9
@@
def get_env(appname=salomeappname, cfgname=salomecfgname, exeName=None, keepEnvi
args[file_nam] = [cmd_opts.log_file]
# GUI Log file
+ if os.environ.get("GUI_LOG_FILE") is not None:
+ args["gui_log_file"] = os.environ["GUI_LOG_FILE"]
+
if cmd_opts.gui_log_file is not None:
args["gui_log_file"] = cmd_opts.gui_log_file