Roger Bisson created LOG4J2-748:
-----------------------------------
Summary: Erroneous references to log4j classes appearing in online
documentation
Key: LOG4J2-748
URL: https://issues.apache.org/jira/browse/LOG4J2-748
Project: Log4j 2
Issue Type: Documentation
Components: Documentation
Affects Versions: 2.0
Reporter: Roger Bisson
On the following page [http://logging.apache.org/log4j/2.x/manual/webapp.html],
at the section entitled "Servelet 2.5 Web Applications", there are references
to the following listener and filter classes -
{{org.apache.logging.log4j.core.web.Log4jServletContextListener}}
{{org.apache.logging.log4j.core.web.Log4jServletFilter}}
When the web.xml settings provided in this particular section are used in
conjunction with Apache Tomcat, Tomcat logs a relatively obscure error to the
effect the relevant listener and filter could not be started.
The problem has been traced to an incorrect classpath. The correct classes and
associated classpaths ought to be -
{{org.apache.logging.log4j.web.Log4jServletContextListener}}
{{org.apache.logging.log4j.web.Log4jServletFilter}}
"*core*" has been omitted from each. For the benefit of future log4j2
developers, it may be helpful to update the documentation to refer to the
correct classes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]