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

Regression in FileAppender locking since 2.6

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.8
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      centos

      Description

      We have several threads writing to an async file with locking set to true. Under log4j 2.5 the message from each thread are interleaved correctly. Using log4j 2.6.2 some messages are scrambled as if multiple threads are writing to the file simultaneously. Reverting to 2.5 fixes the problem.
      Configuration to follow.

        Attachments

          Activity

            People

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              markbowman Mark Bowman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: