summaryrefslogtreecommitdiff
path: root/java/common
diff options
context:
space:
mode:
authorAlex Rudyy <orudyy@apache.org>2013-01-24 15:40:35 +0000
committerAlex Rudyy <orudyy@apache.org>2013-01-24 15:40:35 +0000
commitfd92af60987f4271ee99a1babab3fabcc984805e (patch)
treeafd016256745fc7778721d936efc330203f02011 /java/common
parentd7c13522f09922a14f3989a2a8efd1f504bca992 (diff)
downloadqpid-python-fd92af60987f4271ee99a1babab3fabcc984805e.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/common')
-rw-r--r--java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java b/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java
index ec06400b7d..c16e42eb7c 100644
--- a/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java
+++ b/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java
@@ -41,6 +41,7 @@ public class QpidTestCase extends TestCase
public static final String QPID_HOME = System.getProperty("QPID_HOME");
public static final String TEST_RESOURCES_DIR = QPID_HOME + "/../test-profiles/test_resources/";
public static final String TMP_FOLDER = System.getProperty("java.io.tmpdir");
+ public static final String LOG4J_CONFIG_FILE_PATH = System.getProperty("log4j.configuration.file");
private static final Logger _logger = Logger.getLogger(QpidTestCase.class);
@@ -204,6 +205,8 @@ public class QpidTestCase extends TestCase
{
System.setProperty(property, value);
}
+
+ _logger.info("Set system property \"" + property + "\" to: \"" + value + "\"");
}
/**