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

MinimalLock and AppendToFile=false don't work together in trunk's FileAppender

    Details

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

      Description

      As part of adding the MutextLock with LOG4NET-164 the logic that open the file has been factored out into a method of the base class of all locking models. The line that sets MinimalLock's m_append to true after opening the file has been lost on the way.

      This is responsible for two of the unit tests errors reported in LOG4NET-301.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bodewig Stefan Bodewig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: