Sandesha
  1. Sandesha
  2. SAND-16

Make SenderWorker always log exceptions

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Axis-1.4.1, Sandesha2-1.3

      Description

      I've spend many hours trying to find out why the response to a request wasn't being sent back to the client and I found that
      most of the body of org.apache.sandesha2.workers.SenderWorker.run() is in a try/catch block which logs the exception only at debug level (line 373)
      Setting the logging level at debug for Sandesha makes it log too much data to be valuable so I wasn't able to see the problem.
      Please, modify it to always log the exceptions and use the error level.
      Or at least create a separate logger to log the exception, so I can activate only that.

      Thank you.

        Activity

        Andrei Ivanov created issue -

          People

          • Assignee:
            Glen Daniels
            Reporter:
            Andrei Ivanov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development