Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4921

SlingMainServlet logs IOException at debug level only

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Engine 2.4.2
    • Engine 2.4.4
    • Engine
    • None

    Description

      The log level of IOException was reduced to DEBUG for SLING-3498, to avoid polluting the logs with client disconnect exceptions, which are hard to identify reliably.

      The downside is that this hides legit IOException from application code, as debug logs are usually not enabled on production systems.

      We should find a better to way to separate client disconnects from application-level IOException, and log the latter in the usual way.

      Attachments

        1. SLING-4921.patch
          6 kB
          Bertrand Delacretaz
        2. cae-stack-trace.txt
          7 kB
          Bertrand Delacretaz

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: