logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emily36 <bilancia197...@libero.it>
Subject Re: Console appender much slower then File appender. Why ?
Date Mon, 05 Jul 2010 08:09:12 GMT

thank you very much for the quick and useful reply! 
Well I guess that if I use the Console appender redirecting the output on a
file, the time spent in logging should be quite the same..I'll check it
out.....thanks again.....
Emily


javabrett wrote:
> 
> http://stackoverflow.com/questions/950026/java-whats-the-reason-behind-system-out-println-being-that-slow
> 
> 
> On Mon, Jul 5, 2010 at 5:32 PM, Emily36 <bilancia1970_m@libero.it> wrote:
>>
>> Hi all,
>> We have recentely got some issues with the performance of our loggings
>> printed on the Console. I have calculated that on an Application Server
>> (JBoss) running on a 8 Giga RAM and 4 CPU machine, the logs are
>> considerably
>> faster when using a File appender then a Console (around 40% faster). Is
>> there any explanation why logging on the Console (which should translate
>> to
>> a System.out) is so slow ?
>> thanks a lot
>> Emily
>> --
>> View this message in context:
>> http://old.nabble.com/Console-appender-much-slower-then-File-appender.-Why---tp29073542p29073542.html
>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Console-appender-much-slower-then-File-appender.-Why---tp29073542p29073795.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message