Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3141

Avoid overhead in *Manager.setEndOfBatch(boolean)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.15.0
    • Appenders
    • None

    Description

      I've seen a somewhat substantial amount of overhead in RandomAccessFileManager.setEndOfBatch, which updates a threadlocal for each logevent. Given none of our code reads isEndOfBatch, I intend to deprecate the method and remove the threadlocal.

      Attachments

        Issue Links

          Activity

            People

              ckozak Carter Kozak
              ckozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: