You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andreas Ländle (JIRA)" <ji...@apache.org> on 2011/01/21 11:37:43 UTC
[jira] Updated: (AMQ-3148) LoggingBrokerPlugin addConnection(..)
log output is meaningless
[ https://issues.apache.org/jira/browse/AMQ-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Ländle updated AMQ-3148:
--------------------------------
Attachment: LoggingBrokerPlugin.patch
> 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
> Attachments: LoggingBrokerPlugin.patch
>
>
> 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.