[ 
https://issues.apache.org/jira/browse/LOG4J2-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327115#comment-15327115
 ] 

Remko Popma commented on LOG4J2-1395:
-------------------------------------

Yes, I'm okay to merge this into master.

The key benefit of this option is the performance improvement, so I think this 
should be mentioned on the Performance page somehow.
Shall we add a new section "Console logging" under the [Which Log4j 2 Appender 
to Use?|https://logging.apache.org/log4j/2.x/performance.html#tradeoffs] 
section?

It would be good to have a graph that shows the main point: *if you redirect to 
a file, then the "direct" console option is a lot faster than the normal 
console (but not as fast as the file appender)*. So perhaps a graph that 
compares Console to DirectConsole to FileAppender for a number of threads. (We 
can get the data from running the JMH Log4j2AppenderComparisonBenchmark for 
appenderConsole, appenderDirectConsole and appenderFile with a range of 
threads.)

> Faster Console appender
> -----------------------
>
>                 Key: LOG4J2-1395
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1395
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 2.5, 2.6, 2.6.1
>            Reporter: Mikael Ståldal
>         Attachments: ggregory-hardware.txt
>
>
> The ConsoleAppender is much slower than the FileAppender.
> It would be nice to improve the performance of the ConsoleAppender.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to