Currently I use Property Files to configure log4j but would like to
migrate to the XML version. 

Using property files I use the ResourceBundle API to look up my
properties and then pass this to
PropertyConfigurator.configure(). This mechanism works fine.

How do I do the equivalent operation on DOMConfigurator? I tried using
DOMConfigurator.configure(filename) but it tells me the file cannot be
found.

I do not want to use default initialization.

Any help would be appreciated.

Cheers,
Philip.

 

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

Reply via email to