Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12055

Enable async logging by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.1, 9.0
    • logging
    • None

    Description

      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.....

      Attachments

        1. SOLR-12055-slh-interim1.patch
          4 kB
          Shawn Heisey
        2. SOLR-12055-slh-interim1.patch
          4 kB
          Shawn Heisey
        3. SOLR-12055.patch
          8 kB
          Erick Erickson
        4. SOLR-12055.patch
          9 kB
          Erick Erickson
        5. SOLR-12055-rollback.patch
          11 kB
          Erick Erickson
        6. SOLR-12055.patch
          11 kB
          Erick Erickson
        7. SOLR-12055.patch
          22 kB
          Erick Erickson
        8. SOLR-12055.patch
          23 kB
          Erick Erickson

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              erickerickson Erick Erickson
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: