You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Philip Harvey (JIRA)" <ji...@apache.org> on 2012/07/10 15:38:35 UTC

[jira] [Assigned] (QPID-4124) AMQChannel checkTransactionStatus logging not useful because it uses default Object.toString

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

Philip Harvey reassigned QPID-4124:
-----------------------------------

    Assignee: Keith Wall  (was: Philip Harvey)

please review and commit if you're happy.
                
> AMQChannel checkTransactionStatus logging not useful because it uses default Object.toString
> --------------------------------------------------------------------------------------------
>
>                 Key: QPID-4124
>                 URL: https://issues.apache.org/jira/browse/QPID-4124
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.18
>            Reporter: Philip Harvey
>            Assignee: Keith Wall
>            Priority: Trivial
>             Fix For: Future
>
>         Attachments: 0001-QPID-4124-log-output-should-use-LogSubject.toLogStri.patch
>
>
> In AMQChannel, code such as 
> _logger.warn("IDLE TRANSACTION ALERT " + _logSubject.toString() ...
> should be replaced by 
> _logger.warn("IDLE TRANSACTION ALERT " + _logSubject.toLogString() ...
> because the first example uses Object.toString, which is not very useful for logging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org