[logback-user] Benchmarks (Log4j - Direct, Log4j - Using SLF4J, LogBack, System.Out)

Ceki Gulcu listid at qos.ch
Mon Aug 18 22:35:38 CEST 2008

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ü

More information about the Logback-user mailing list