Change in ovirt-engine[ovirt-engine-3.4]: tools: Add runtime log4j setup to engine-config
oourfali at redhat.com
oourfali at redhat.com
Wed Apr 23 08:48:27 UTC 2014
Oved Ourfali has submitted this change and it was merged.
Change subject: tools: Add runtime log4j setup to engine-config
......................................................................
tools: Add runtime log4j setup to engine-config
1) Moves default log4j.xml for engine-config into tools.jar
2) By default logging is off
3) Adds --log-file which sets file to write logging messages into
4) Adds --log-level which sets logging level for logger specified
with --log-file (it's set to INFO by default)
5) Adds --log4j-config which sets filename or URL with custom
log4j.xml file to setup logging
Change-Id: I328a018ef1b714c6a90d1b219dcd326a16bcab2d
Bug-Url: https://bugzilla.redhat.com/1063901
Signed-off-by: Martin Perina <mperina at redhat.com>
---
M Makefile
M backend/manager/tools/src/main/java/org/ovirt/engine/core/config/EngineConfig.java
M backend/manager/tools/src/main/java/org/ovirt/engine/core/config/EngineConfigCLIParser.java
A backend/manager/tools/src/main/java/org/ovirt/engine/core/config/EngineConfigExecutor.java
M backend/manager/tools/src/main/java/org/ovirt/engine/core/config/EngineConfigMap.java
M backend/manager/tools/src/main/java/org/ovirt/engine/core/config/OptionKey.java
A backend/manager/tools/src/main/resources/engine-config/log4j.xml
M backend/manager/tools/src/test/java/org/ovirt/engine/core/config/EngineConfigTest.java
M ovirt-engine.spec.in
M packaging/bin/engine-config.sh
D packaging/etc/engine-config/log4j.xml.in
M packaging/man/man8/engine-config.8
12 files changed, 137 insertions(+), 76 deletions(-)
Approvals:
Martin Peřina: Verified
Oved Ourfali: Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/26821
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I328a018ef1b714c6a90d1b219dcd326a16bcab2d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list