Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-740

Invalid servlet configuration in docs

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Documentation
    • Labels:
      None

      Description

      http://logging.apache.org/log4j/2.x/manual/webapp.html#Servlet-2.5

      The packages for the web classes have changed and no longer contain .core. as specified in the docs:

      <listener-class>org.apache.logging.log4j.core.web.Log4jServletContextListener</listener-class>

      <filter-class>org.apache.logging.log4j.core.web.Log4jServletFilter</filter-class>

      should be changed to:

      <listener-class>org.apache.logging.log4j.web.Log4jServletContextListener</listener-class>

      <filter-class>org.apache.logging.log4j.web.Log4jServletFilter</filter-class>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvz Matt Sicker
                Reporter:
                kosta Kosta Krauth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: