Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3339

Log stack trace with warn message in ObservationDispatcher

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.13, 2.5.1
    • Component/s: jackrabbit-core
    • Labels:
      None

      Description

      Currently the ObservationDispatcher only logs the toString() of the exception of an event consumer in a warn message. One needs to enable debug level for ObservationDispatcher to get the stack trace of the exception. Most of the time it's quite difficult to track down the root cause of the exception without a stack trace. Enabling debug logging after the issue occurs is also not very convenient.

      I suggest we print the stack trace of the exception with the warn message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mreutegg Marcel Reutegger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: