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 simon litwan <si...@wyona.com> on 2007/08/29 17:29:10 UTC
xml or properties
hi all
is there any difference re performance when using log4j.xml instead of
log4j.properties?
cheers
simon
--
Simon Litwan simon.litwan@wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: xml or properties
Posted by simon litwan <si...@wyona.com>.
Matthew Kemp schrieb:
> There is some overhead with parsing the xml/building the DOM, but since that
> only happens when the config is loaded the impact should be minimal.
this should be no problem.
Once
> log4j is setup there is no difference.
great.
thanks for your quick response.
simon
>
> On 8/29/07, simon litwan <si...@wyona.com> wrote:
>> hi all
>>
>> is there any difference re performance when using log4j.xml instead of
>> log4j.properties?
>>
>> cheers
>>
>> simon
>>
>> --
>> Simon Litwan simon.litwan@wyona.com
>> Wyona Inc. - Open Source Content Management - Apache Lenya
>> http://www.wyona.com http://lenya.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>
--
Simon Litwan simon.litwan@wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: xml or properties
Posted by Matthew Kemp <ma...@gmail.com>.
There is some overhead with parsing the xml/building the DOM, but since that
only happens when the config is loaded the impact should be minimal. Once
log4j is setup there is no difference.
On 8/29/07, simon litwan <si...@wyona.com> wrote:
>
> hi all
>
> is there any difference re performance when using log4j.xml instead of
> log4j.properties?
>
> cheers
>
> simon
>
> --
> Simon Litwan simon.litwan@wyona.com
> Wyona Inc. - Open Source Content Management - Apache Lenya
> http://www.wyona.com http://lenya.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>