You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2011/01/24 13:40:26 UTC
svn commit: r1062756 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java
Author: gtully
Date: Mon Jan 24 12:40:26 2011
New Revision: 1062756
URL: http://svn.apache.org/viewvc?rev=1062756&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3148 - LoggingBrokerPlugin addConnection(..) log output is meaningless
patch applied with thanks.
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java?rev=1062756&r1=1062755&r2=1062756&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/LoggingBrokerPlugin.java Mon Jan 24 12:40:26 2011
@@ -174,7 +174,7 @@ public class LoggingBrokerPlugin extends
@Override
public void addConnection(ConnectionContext context, ConnectionInfo info) throws Exception {
if (isLogAll() || isLogConnectionEvents()) {
- LOG.info("Adding Connection : " + context);
+ LOG.info("Adding Connection : " + info);
}
super.addConnection(context, info);
}