activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Ländle (JIRA) <j...@apache.org>
Subject [jira] Updated: (AMQ-3148) LoggingBrokerPlugin addConnection(..) log output is meaningless
Date Fri, 21 Jan 2011 10:37:43 GMT

     [ 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.


Mime
View raw message