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

Log stack trace with warn message in ObservationDispatcher

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.13, 2.5.1
    • jackrabbit-core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: