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

Regression in FileAppender locking since 2.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.8
    • Appenders
    • None
    • 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

            rpopma Remko Popma
            markbowman Mark Bowman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: