logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal <mikael.stal...@appearnetworks.com>
Subject Configure Log4j 2.0 in a Web Application
Date Fri, 25 Apr 2014 14:52:40 GMT
I am using Log4j 2.0 in a Web Application, which is packaged as a .war
file, and deployed in an application server.

I want to bundle a default Log4j configuration within the .war file, but
make it possible to override it in the application server when deploying,
without tampering with the .war file.

Is that possible with Log4j 2.0? I am currently using Jetty 9.x as
application server, but I would like a solution which can be used in
multiple application servers.

Mikael Ståldal
Chief Software Architect
Phone: +46 8 545 91 572
Email: mikael.staldal@appearnetworks.com

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