logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariano Gonzalez <mariano.l.gonza...@gmail.com>
Subject why is AsyncLoggerContextSelector faster?
Date Fri, 18 Jul 2014 13:57:44 GMT
Hello,

According to the performance charts in the documentation, log4j2 has a
significantly higher throughput when using AsyncLoggerContextSelector than
when using all async loggers with any different selector.

Why is that? Is it just because the same context is always reused and
there's no lookup like in the ClassLoaderContextSelector case?

If I need functionality similar to ClassLoaderContextSelector, is there any
way to get a throughput similar to AsyncLoggerContextSelector?

Thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message