[
https://issues.apache.org/jira/browse/SOLR-12055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560152#comment-16560152
]
Varun Thacker commented on SOLR-12055:
--------------------------------------
{quote}We def want to change it to async for tests at minimum - with many Solr
instances often logging and all going through the same sync block, it's rather
nasty with lots of blocking.
{quote}
I tried doing this on my system and when I used the async logger all solr tests
completed in 38 mins vs 42 minutes.
There was an assert in TestLogWatcher that failed which we might have to fix if
we go async for tests.
To switch to the async logger I imply changed the {{Root}} tag to be
{{AsyncRoot}}
Curious if others see less or more gains while running tests
> Enable asynch logging by default
> --------------------------------
>
> Key: SOLR-12055
> URL: https://issues.apache.org/jira/browse/SOLR-12055
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: logging
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Minor
>
> When SOLR-7887 is done, switching to asynch logging will be a simple change
> to the config files for log4j2. This will reduce contention and increase
> throughput generally and logging in particular.
> There's a discussion of the pros/cons here:
> https://logging.apache.org/log4j/2.0/manual/async.html
> An alternative is to put a note in the Ref Guide about how to enable async
> logging.
> I guess even if we enable async by default the ref guide still needs a note
> about how to _disable_ it.....
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]