From 9b4e0b2a96fd8152a7f94b87e479ad9f8d0a60aa Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Fri, 10 Mar 2023 16:42:50 +0100 Subject: [PATCH] launchConfigureParser.py: Setup gui log file via environment variable. This will make it easier to activate the usage logging in distributed application. --- bin/launchConfigureParser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index 26b0913c0..5df821118 100644 --- 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 -- 2.39.2