diff options
| author | Alex Rudyy <orudyy@apache.org> | 2013-01-24 15:40:35 +0000 |
|---|---|---|
| committer | Alex Rudyy <orudyy@apache.org> | 2013-01-24 15:40:35 +0000 |
| commit | 3d6b083172a8e5a3639bafb8aac48f47e4ce69d8 (patch) | |
| tree | afd016256745fc7778721d936efc330203f02011 /java/test-profiles | |
| parent | a5ab795af5f8ec498fc33d1c6dd4e0c383c56f06 (diff) | |
| download | qpid-python-3d6b083172a8e5a3639bafb8aac48f47e4ce69d8.tar.gz | |
QPID-4281: Fix setting of log4j configuration in system tests. While testing the fix, some tests were found to be failing on spawned profile due to config problems - also fixed these.
Applied patch from Philip Harvey <phil@philharveyonline.com> and myself.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1438053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/test-profiles')
| -rw-r--r-- | java/test-profiles/testprofile.defaults | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/test-profiles/testprofile.defaults b/java/test-profiles/testprofile.defaults index 47992b9334..e205de2a18 100644 --- a/java/test-profiles/testprofile.defaults +++ b/java/test-profiles/testprofile.defaults @@ -33,7 +33,12 @@ amqj.logging.level=${log} amqj.server.logging.level=${log} amqj.protocol.logging.level=${log} root.logging.level=warn -log4j.configuration=test-profiles/log4j-test.xml + +# System property log4j.configuration is used by log4j. +# QpidBrokerTestCase uses log4j.configuration.file to construct a java.io.File, eg for log configuration of spawned brokers. +log4j.configuration.file=${test.profiles}/log4j-test.xml +log4j.configuration=file:///${log4j.configuration.file} + log4j.debug=false # Note test-provider.properties also has variables of same name. |
