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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment