xml is the newer development. I read once that sometimes in the future only xml 
will be supported. In either case, it has more possibilities, like filters. 
Annother point is that the autoconfiguration searches first for a xml file in 
the classpath, and only if it is not found it looks for a properies file.
heri

> -----Original Message-----
> From: Deep Chand [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 03, 2006 9:32 PM
> To: [email protected]
> Subject: log4j.xml vs log4j.properties
> 
> 
> Hi,
> 
> What is the preferred way of configuring log4j? I have read at some
> places that .xml ways provides more flexibility and advantages over
> .properties way. How is that? If any known advantages/disadvantages of
> adopting either way is there?
> 
> Thanks
> Deep
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to