Exceptions in TransportConnection is logged in DEBUG level making it non
traceable in production
------------------------------------------------------------------------------------------------
Key: AMQ-1384
URL: https://issues.apache.org/activemq/browse/AMQ-1384
Project: ActiveMQ
Issue Type: Bug
Reporter: anish pathadan
Fix For: 4.1.2, 5.0.0, 5.1.0, 5.2.0, 4.1.1, 4.1.0
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.
-
You can reply to this email to add a comment to the issue online.