Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1384

Exceptions in TransportConnection is logged in DEBUG level making it non traceable in production

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • NEEDS_REVIEW
    • None
    • None
    • Patch Available

    Description

      It seems that the error is only logged in DEBUG mode in the following code in the org.apache.activemq.broker.TransportConnection class:

         public void serviceTransportException(IOException e) {
             if( !disposed.get() ) {
                 transportException.set(e);
                 if( transportLog.isDebugEnabled() )
                     transportLog.debug("Transport failed: "+e,e);
                 ServiceSupport.dispose(this);
             }
         }
      

      This makes exception non traceable in production mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anishpathadan Anish Pathadan
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: