LoggingBrokerPlugin addConnection(..) log output is meaningless
---------------------------------------------------------------

                 Key: AMQ-3148
                 URL: https://issues.apache.org/jira/browse/AMQ-3148
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.4.2
            Reporter: Andreas Ländle


At the moment the log output is as follows:
" INFO | Adding Connection : 
org.apache.activemq.broker.ConnectionContext@e75be38"

As far as I can judge this, the problem is that the ConnectionContext and not 
the ConnectionInfo is displayed.

public void addConnection(ConnectionContext context, ConnectionInfo info) 
throws Exception {
        if (isLogAll() || isLogConnectionEvents()) {
            LOG.info("Adding Connection : " + context); // <-- here
        }
        super.addConnection(context, info);
    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to