[
https://issues.apache.org/jira/browse/LOG4J2-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory updated LOG4J2-946:
--------------------------------
Summary: [docs] Using Log4j 2 in Web Applications: Update example
(Log4jWebLifeCycle is not visible) (was: [docs] Log4jWebLifeCycle is not
visible)
> [docs] Using Log4j 2 in Web Applications: Update example (Log4jWebLifeCycle
> is not visible)
> -------------------------------------------------------------------------------------------
>
> Key: LOG4J2-946
> URL: https://issues.apache.org/jira/browse/LOG4J2-946
> Project: Log4j 2
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 2.0.2
> Reporter: artemonster
>
> On the http://logging.apache.org/log4j/2.x/manual/webapp.html page you
> mention following code snippet:
> {code}
> final Log4jWebLifeCycle webLifeCycle =
> WebLoggerContextUtils.getWebLifeCycle(TestAsyncServlet.this.getServletContext());
> {code}
> The problem is, Log4jWebLifeCycle is package-private and you can't use it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]