Interesting. The test is certainly not playing to Log4J2's strengths: * the test uses FileAppender for all logging frameworks (RandomAccessFileAppender is not included in the tests) * only synchronous logging tests (no comparison between synchronous and asynchronous, let alone between AsyncAppender and AsyncLoggers) * (my favorite) PatternLayout uses %c (logger name) for all logging frameworks EXCEPT for Log4J2, where %C (calling class) is used - so Log4J2 is forced to walk the stack trace to find location info, where the other logging frameworks are not. UNFAIR TEST! * the measurement includes startup time. It counts lines logged by 10 threads in 1 minute. No warmup. If Log4J2 takes seconds longer to initialize from config, it is at a large disadvantage.
On Sat, Dec 21, 2013 at 7:30 AM, Benedikt Ritter <[email protected]> wrote: > yep, is online again :-) > > > 2013/12/20 Gary Gregory <[email protected]> > >> On Fri, Dec 20, 2013 at 4:06 PM, Benedikt Ritter <[email protected]>wrote: >> >>> Link doesn't work anymore :-( >>> >> >> Works for me now. Try again? >> >> Gary >> >> >>> >>> >>> 2013/12/19 Christian Grobmeier <[email protected]> >>> >>>> Yap saw that as well yesterday. >>>> >>>> However I looked a bit around, this doesn't seem to go in-depth >>>> and it doesn't feel well researched. >>>> >>>> >>>> On 18 Dec 2013, at 20:22, Gary Gregory wrote: >>>> >>>> FYI: >>>>> http://www.takipiblog.com/2013/12/18/the-logging- >>>>> olympics-a-race-between-todays-top-5-logging-frameworks/ >>>>> >>>>> G >>>>> >>>>> -- >>>>> E-Mail: [email protected] | [email protected] >>>>> Java Persistence with Hibernate, Second Edition<http://www.manning. >>>>> com/bauer3/> >>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>> >>>>> Blog: http://garygregory.wordpress.com >>>>> Home: http://garygregory.com/ >>>>> Tweet! http://twitter.com/GaryGregory >>>>> >>>> >>>> >>>> --- >>>> http://www.grobmeier.de >>>> The Zen Programmer: http://bit.ly/12lC6DL >>>> @grobmeier >>>> GPG: 0xA5CC90DB >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> >>> -- >>> http://people.apache.org/~britter/ >>> http://www.systemoutprintln.de/ >>> http://twitter.com/BenediktRitter >>> http://github.com/britter >>> >> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> Java Persistence with Hibernate, Second >> Edition<http://www.manning.com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> > > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter >
