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

PathBasedServletAcceptor ERROR log about SlingServletConfig should be DEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Servlets Resolver 2.6.4
    • Servlets Resolver 2.7.0
    • Servlets
    • None

    Description

      We're seeing many ERROR logs like this one in a Sling-based app:

      org.apache.sling.servlets.resolver.internal.PathBasedServletAcceptor
      Did not get a SlingServletConfig for 
      /libs/com/example/somescript.jsp
       

      The PathBasedServletAcceptor does get configs which are not SlingServletConfig when a script (as opposed to a Servlet) is being executed.

      That log message should be DEBUG to avoid the unnecessary noise.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: