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:14:43 UTC

[jira] [Updated] (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 updated QPID-4124:
--------------------------------

    Description: 
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.

  was:
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.

    
> 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: Philip Harvey
>            Priority: Trivial
>             Fix For: Future
>
>
> 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