logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject Override values from log4j.properties on jvm command line?
Date Wed, 24 Sep 2003 23:25:33 GMT
I have a log4j.properties file that has the default level of the root
logger set to "INFO".  When I run my application in my debugger, I'd
typically like to set the default level to "DEBUG", but without having
to change the properties file, and without having to change code.

I thought that I could just add "-Dlog4j.rootLogger=DEBUG" to the jvm
command line, but that seemed to have no effect.

I guess I'm using Log4J 1.2.8.

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

View raw message