[ https://issues.apache.org/jira/browse/LOG4J2-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved LOG4J2-946. --------------------------------- Resolution: Fixed Fix Version/s: 2.2 Fixed docs in git master. Please verify that the new example works for you. > [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 > Fix For: 2.2 > > > 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: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org