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 "John C. Turnbull" <oz...@ozemail.com.au> on 2002/09/02 21:04:07 UTC

Where does it look for configuration files?

When I use DOMConfigurator.configure(<filename>), what rules does it follow
to look for <filename>?

-JT


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Where does it look for configuration files?

Posted by Thomas Muller <tt...@online.no>.
| Specifically I would like to know where it looks for the file when only a
| file name (and not a full path) is specified like "john.txt" instead of
| "C:\john.txt".

Probably current user directory (see System.getProperty( "user.dir" ) ).

--

Thomas













*************************************************************************
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. 
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Where does it look for configuration files?

Posted by "John C. Turnbull" <oz...@ozemail.com.au>.
----- Original Message -----
From: "John C. Turnbull" <oz...@ozemail.com.au>
To: <lo...@jakarta.apache.org>
Sent: Tuesday, September 03, 2002 5:04 AM
Subject: Where does it look for configuration files?


> When I use DOMConfigurator.configure(<filename>), what rules does it
follow
> to look for <filename>?

Specifically I would like to know where it looks for the file when only a
file name (and not a full path) is specified like "john.txt" instead of
"C:\john.txt".

-JT


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>