Yes, the PropertyConfigurator is meant to read from a properties file-URL
(default is log4j.properties), whilst the DOMConfigurator reads from an XML
file (default log4j.xml).

Hope this helps

--

Thomas


| -----Original Message-----
| From: Chien Wei Tan [mailto:[EMAIL PROTECTED]]
| Sent: 17 September 2001 05:12
| To: LOG4J Users Mailing List
| Subject: How to configure log4j with .properties file
|
|
|
| Hi,
|
| Instead of configuring log4j from a ".lcf" file, is it possible
| to configure
| using a ".properties" file?
|
|
| Cheers,
| cw
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|



*************************************************************************
Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to