activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-3148) LoggingBrokerPlugin addConnection(..) log output is meaningless
Date Mon, 24 Jan 2011 12:43:44 GMT

     [ https://issues.apache.org/jira/browse/AMQ-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully resolved AMQ-3148.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.5.0
         Assignee: Gary Tully

patch applied with thanks in r1062756

URL: http://svn.apache.org/viewvc?rev=1062756&view=rev

> 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
>            Assignee: Gary Tully
>             Fix For: 5.5.0
>
>         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