You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by David Hodge <da...@idea.com> on 2001/02/26 20:27:26 UTC
Default Configuration Key
Hello,
I was wondering what is the easiest way to override the default
configuration key so that I can specify where
the log4j.properties is searched for?
Thanks
RE: Default Configuration Key
Posted by Rex Madden <re...@microcreditcard.com>.
The system property is log4j.configuration.
To use it, run java using "java -Dlog4j.configuration=<file>" where <file>
is a URL in the form "file:/usr/configFileName" or
"file:///c:/configfilename' for windows.
-----Original Message-----
From: David Hodge [mailto:david.hodge@idea.com]
Sent: Monday, February 26, 2001 2:27 PM
To: LOG4J Users Mailing List
Subject: Default Configuration Key
Hello,
I was wondering what is the easiest way to override the default
configuration key so that I can specify where
the log4j.properties is searched for?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org