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

Enable async logging by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: logging
    • Labels:
      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.patch
          23 kB
          Erick Erickson
        2. SOLR-12055.patch
          22 kB
          Erick Erickson
        3. SOLR-12055.patch
          11 kB
          Erick Erickson
        4. SOLR-12055.patch
          9 kB
          Erick Erickson
        5. SOLR-12055.patch
          8 kB
          Erick Erickson
        6. SOLR-12055-rollback.patch
          11 kB
          Erick Erickson
        7. SOLR-12055-slh-interim1.patch
          4 kB
          Shawn Heisey
        8. SOLR-12055-slh-interim1.patch
          4 kB
          Shawn Heisey

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: