[
https://issues.apache.org/jira/browse/LOG4J2-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360481#comment-15360481
]
Mikael Ståldal commented on LOG4J2-1395:
----------------------------------------
There is something strange going on here. I tried your test project, and got
the same result. However, when I changed it to use a File appender instead of
Console, I did not get any significant speed-up either. There seems to be some
bottleneck before the appender.
BTW, you should redirect standard out to a file when comparing direct="true"
and direct="false". (I did that, it made no difference here.)
BTW2, what StackOverflow post?
> Add "direct" option to ConsoleAppender for increased performance
> ----------------------------------------------------------------
>
> 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
> Assignee: Mikael Ståldal
> Fix For: 2.6.2
>
> Attachments: app.zip, 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]