https://issues.apache.org/jira/browse/AMQ-3148 - LoggingBrokerPlugin addConnection(..) log output is meaningless

patch applied with thanks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1062756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-01-24 12:40:26 +00:00
parent 27484b9324
commit 610c5bf4d8
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class LoggingBrokerPlugin extends BrokerPluginSupport {
@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);
}