Implementation with the log4j-to-slf4j adapter. Avoid lock-inĪpplications coded to the Log4j 2 API always have the option to use any SLF4J-compliant library as their logger While the Log4j 2 API will provide the best performance, Log4j 2 provides support for the Log4j 1.2, SLF4J, Commons Outperforms Log4j 1.x, Logback and, especially in multi-threaded applications. See Asynchronous Logging Performance for details. In multi-threaded scenariosĪsynchronous Loggers have 18 times higher throughput and orders of magnitude lower latency than Log4j 1.x and Logback. Log4j 2 contains next-generation Asynchronous Loggers based on the LMAX Disruptor library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |