logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Calmus <m...@calmus.org>
Subject problems with web app and JndiContextSelector
Date Tue, 29 Jul 2014 12:47:50 GMT
I am having problems moving our web app over to Log4j 2.0 using JNDI
lookups. I followed the configuration documentation and am not getting any
errors, but nothing is being logged to my configured appenders. Weirdly, if
I remove the JNDI env-entry configuration from web.xml logging seems to
work, albeit with the expected NameNotFoundException in the server output.

One possibly relevant configuration difference is that we load the log4j
jar files as part of server startup so each app doesn't have to load them.

Any ideas? What configuration can I provide to help troubleshoot?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message