Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-485

RollingFileAppender cannot be used by multiple process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.13, 1.2.14, 1.3.0
    • 1.2.14
    • Appenders
    • None

    Description

      RollingFileAppender doesn't acquire lock when rolling takes place.
      As a consequence running multiple instances of the same program rewrites the same log file instead of making a roll for everyone.

      There is FileAppender.InterProcessLock but it only protects writes and not rolls.

      Attachments

        Issue Links

          Activity

            People

              nachbarslumpi Dominik Psenner
              _nn_ NN
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: