You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2018/08/14 03:51:00 UTC

[jira] [Commented] (SOLR-12055) Enable async logging by default

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

Shawn Heisey commented on SOLR-12055:
-------------------------------------

Just to make sure I was comparing fairly, I did the following at the top level (on Linux):

ant clean
ant compile
ant jar

Then I changed to the solr directory and did this:

time ant clean test

The test run used 3 JVMs.  In a shocking turn of events, all the tests passed on the first try, so it actually ran ALL of the tests!  Here are the results of the whole run:

{noformat}
BUILD SUCCESSFUL
Total time: 67 minutes 55 seconds

real    67m56.567s
user    133m32.291s
sys     12m22.014s
{noformat}

Then I found all the log4j2.xml files and made some edits, which I will attach as an interim patch, and I will run the tests again.




> Enable async 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
>         Attachments: SOLR-12055-slh-interim1.patch
>
>
> When SOLR-7887 is done, switching to async 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org