ActiveMQ
  1. ActiveMQ
  2. AMQ-1384

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: NEEDS_REVIEW
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Anish Pathadan
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development