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

Avoid overhead in *Manager.setEndOfBatch(boolean)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment