Most of the code in log4j as well as logback were written by the same person. 
Thus, you can think of logback as log4j version 2.0.

To answer your question, the way logback rolls files is more reliable, but it 
is 
not faster nor slower. Note that logback can automatically compress rolled over 
files. It does so asynchronously which can make a big difference for large 
files.

In general, appenders should have the same speed, except for those serializing 
events on the wire which should be 10 times faster with logback.

Eric Faden wrote:
> Are there any more benchmarks for the appenders themselves?  E.g. is 
> logbacks rolling file appender faster than log4js... etc?
> 
> -Eric

-- 
Ceki Gülcü

_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to