logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: problems with web app and JndiContextSelector
Date Tue, 29 Jul 2014 15:37:34 GMT
The best would be a sample project that demonstrates the problem. At a minimum I would think
the web.xml and log4j 2 configuration.

Ralph

On Jul 29, 2014, at 5:47 AM, Mike Calmus <mike@calmus.org> wrote:

> 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?
> 
> Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message