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

Invalid servlet configuration in docs

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • Documentation
    • 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

              mattsicker Matt Sicker
              kosta Kosta Krauth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: