logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <jason.novo...@gmail.com>
Subject how to override log4j.properties bundled in jar
Date Thu, 08 Jan 2015 00:50:06 GMT

I have a WAR file that contains a jar file that has a log4j.properties 
file baked into it. I want to override that with my own production 
log4j.properties file.

I thought it would be sufficient to just add

-Dlog4j.configuration=/tmp/log4j.properties to my java command line 

but I see that doesn't work. Any ideas on how to do this?

Thanks, Jason

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

View raw message