Thanks to Mark and Chen. This was very helpful.
Bill On Wed, Sep 21, 2016 at 11:47 PM, Chen Levy <chen_l...@hotmail.com> wrote: > Bill, > > From: Mark Thomas > Sent: Wednesday, September 21, 2016 17:58 > To: Tomcat Users List > Subject: Re: log4j2 configuration in tomcat 8.5.5 > > On 21/09/2016 22:49, Bill Phillips wrote: > > My team has elected me to upgrade Tomcat from 7.X to 8.5.5+ on our very > > old and very large web application. > > > > Under Tomcat 7.x, this application uses the tomcat-juli-adapters to > replace > > JULI with log4j1.16. Worked like a charm for years. > > > > > > Under Tomcat 8.5.5, I'm getting exceptions such as: > > java.lang.NoClassDefFoundError: org/apache/juli/WebappProperties > > > > > > Googling this led me to the discovery that log4j1.x support via > > tomcat-juli-adapters was > > discontinued in Tomcat 8.5, as described here: > > > > https://bz.apache.org/bugzilla/show_bug.cgi?id=58588 > > > > > > My understanding is that JULI can be replaced by log4j2 without the > > adapters, > > but I cannot find a description on how to do this. > > > > > > Can anyone describe to me how this is done? > > https://logging.apache.org/log4j/log4j-2.6.1/log4j-jul/index.html > > should point you in the right direction. > > Mark > > > > > > > > It is no longer covered in the user documentation as it was on earlier > > versions: > > > > https://tomcat.apache.org/tomcat-8.5-doc/logging.html > > > > > > > > Thanks, > > > > Bill > > > > You can read about how I configured my tomcat 8.5.4 to use log4j2 here: > http://mail-archives.apache.org/mod_mbox/tomcat-users/ > 201607.mbox/%3CBAY406-EAS165A578E6D90447E4CC9B0B96010%40phx.gbl%3E > Chen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >