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); } + */ }