You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/03/09 23:39:59 UTC

[jira] Closed: (AMQ-1384) Exceptions in TransportConnection is logged in DEBUG level making it non traceable in production

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

Timothy Bish closed AMQ-1384.
-----------------------------

    Resolution: Not A Problem

Code changes seem to have rendered this no longer an issue.  

> Exceptions in TransportConnection is logged in DEBUG level making it non traceable in production
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1384
>                 URL: https://issues.apache.org/jira/browse/AMQ-1384
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Anish Pathadan
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: TransportConnection_Log.patch
>
>
>  It seems that the error is only logged in DEBUG mode in the following code in the {{org.apache.activemq.broker.TransportConnection}} class:
> {code}
>    public void serviceTransportException(IOException e) {
>        if( !disposed.get() ) {
>            transportException.set(e);
>            if( transportLog.isDebugEnabled() )
>                transportLog.debug("Transport failed: "+e,e);
>            ServiceSupport.dispose(this);
>        }
>    }
> {code}
> This makes exception non traceable in production mode.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira