Alon Bar-Lev has uploaded a new change for review.

Change subject: tools: move set of OVIRT_LOGGING_PROPERTIES to designated 
scripts
......................................................................

tools: move set of OVIRT_LOGGING_PROPERTIES to designated scripts

this will enable different logging properties to use per different tools
and sub packages.

Change-Id: Id83f9c4e2ee76a84e1e02e5b338a8e451caf38d5
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/bin/engine-config.sh
M packaging/bin/engine-manage-domains.sh
M packaging/bin/engine-prolog.sh.in
3 files changed, 6 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/39886/1

diff --git a/packaging/bin/engine-config.sh b/packaging/bin/engine-config.sh
index 13f422a..ab36a2c 100755
--- a/packaging/bin/engine-config.sh
+++ b/packaging/bin/engine-config.sh
@@ -7,6 +7,9 @@
 # Load the prolog:
 . "$(dirname "$(readlink -f "$0")")"/engine-prolog.sh
 
+# logging configuration properties for tools
+OVIRT_LOGGING_PROPERTIES="${OVIRT_LOGGING_PROPERTIES:-${ENGINE_USR}/conf/tools-logging.properties}"
+
 usage () {
        cat << __EOF__
 Usage: engine-config <action> [<args>]
diff --git a/packaging/bin/engine-manage-domains.sh 
b/packaging/bin/engine-manage-domains.sh
index 6792ae1..02941ad 100755
--- a/packaging/bin/engine-manage-domains.sh
+++ b/packaging/bin/engine-manage-domains.sh
@@ -7,6 +7,9 @@
 # Load the prolog:
 . "$(dirname "$(readlink -f "$0")")"/engine-prolog.sh
 
+# logging configuration properties for tools
+OVIRT_LOGGING_PROPERTIES="${OVIRT_LOGGING_PROPERTIES:-${ENGINE_USR}/conf/tools-logging.properties}"
+
 #
 # Add this option to the java command line to enable remote debugging in
 # all IP addresses and port 8787:
diff --git a/packaging/bin/engine-prolog.sh.in 
b/packaging/bin/engine-prolog.sh.in
index 259cd02..6b70bb5 100644
--- a/packaging/bin/engine-prolog.sh.in
+++ b/packaging/bin/engine-prolog.sh.in
@@ -34,9 +34,6 @@
        # clean the class path
        # jboss module loader will not run otherwise.
        export CLASSPATH=""
-
-       # logging configuration properties for tools
-       export 
OVIRT_LOGGING_PROPERTIES="${OVIRT_LOGGING_PROPERTIES:-${ENGINE_USR}/conf/tools-logging.properties}"
 }
 
 load_config


-- 
To view, visit https://gerrit.ovirt.org/39886
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id83f9c4e2ee76a84e1e02e5b338a8e451caf38d5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to