From 54c8eeb8420d63228c5d0780c62eadff8a14e4cc Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Tue, 14 Aug 2007 06:07:37 +0000 Subject: [PATCH] temporarily comment out log4j dependency git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565632 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/broker/jmx/BrokerView.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java b/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java index cf67558bf2..db02fcf0fa 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java @@ -30,8 +30,8 @@ import org.apache.activemq.command.ActiveMQTopic; import org.apache.activemq.command.ConsumerId; import org.apache.activemq.command.ConsumerInfo; import org.apache.activemq.command.RemoveSubscriptionInfo; -import org.apache.log4j.LogManager; -import org.apache.log4j.PropertyConfigurator; +//import org.apache.log4j.LogManager; +//import org.apache.log4j.PropertyConfigurator; public class BrokerView implements BrokerViewMBean { @@ -233,12 +233,14 @@ public class BrokerView implements BrokerViewMBean { // doc comment inherited from BrokerViewMBean public void reloadLog4jProperties() throws Exception { + /* LogManager.resetConfiguration(); ClassLoader cl = this.getClass().getClassLoader(); URL log4jprops = cl.getResource("log4j.properties"); if (log4jprops != null) { PropertyConfigurator.configure(log4jprops); } + */ }