You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2017/04/08 17:02:41 UTC

[jira] [Created] (LOG4J2-1870) Add a "fast defaults" option to make modern configurations simpler

Matt Sicker created LOG4J2-1870:
-----------------------------------

             Summary: Add a "fast defaults" option to make modern configurations simpler
                 Key: LOG4J2-1870
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1870
             Project: Log4j 2
          Issue Type: New Feature
          Components: Core
            Reporter: Matt Sicker


There have been a few non-default options added over various releases which improve the performance of Log4j. These include:

* Async loggers
* Direct console appender
* Async Kafka appender

This feature should add a Log4j system property to quickly enable fast defaults instead of the backward compatible ones. This should enable async loggers globally when the LMAX library is available. This should also enable current and future fast options to appenders and other plugins.

Ideally, this feature should be accompanied by an explanation of how to choose options and appenders for difference scenarios. For example, it would be great to explain why a user might use different wait strategies in different scenarios (high throughput versus low latency versus safety), or why using different clocks than the default can be useful. Explicit details of all available options should remain on their normal manual pages, but quick summaries and pointers on such a page would be useful.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org