From 8b555d057f483874d9384c15bd989c975d18e0b0 Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Thu, 5 Jul 2012 09:40:06 +0000 Subject: QPID-4109: Re-enable LoggingManagement MBean * Re-wire up LoggingManagementMBean. * Centralise log4j specific functionality into LoggingFacade class (moving implementation from LoggingManagementMBean and QpidLog4JConfigurator together). * Implement unit-tests for MBean and Facade levels. Reenforce units tests with system tests testing logging management end to end. * Changed QpidBrokerTestCase so that log4j.configuration is _always_ used to obtain the log4j config file regardless of whether test type is spawned or internal (previously log4j.configuration was respected only for internal tests). This was require to be able to write a logging management system test that could safely change the contents of the log4j config without running the risk of effecting other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357528 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/test-profiles/java-mms-spawn.0-10.testprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/java/test-profiles/java-mms-spawn.0-10.testprofile') diff --git a/qpid/java/test-profiles/java-mms-spawn.0-10.testprofile b/qpid/java/test-profiles/java-mms-spawn.0-10.testprofile index 2978fe6882..57af5c4a41 100644 --- a/qpid/java/test-profiles/java-mms-spawn.0-10.testprofile +++ b/qpid/java/test-profiles/java-mms-spawn.0-10.testprofile @@ -19,7 +19,7 @@ broker.version=v0_10 broker.language=java broker.type=spawned -broker.command=build/bin/qpid-server -p @PORT -m @MPORT @EXCLUDES @INCLUDES -c @CONFIG_FILE -l test-profiles/log4j-test.xml +broker.command=build/bin/qpid-server -p @PORT -m @MPORT @EXCLUDES @INCLUDES -c @CONFIG_FILE -l @LOG_CONFIG_FILE broker.ready=BRK-1004 broker.stopped=Exception broker.protocol.excludes=--exclude-1-0 @PORT --exclude-1-0 @SSL_PORT -- cgit v1.2.1