Github user dpsenner commented on a diff in the pull request:

    https://github.com/apache/logging-log4net/pull/15#discussion_r133923889
  
    --- Diff: src/Appender/FileAppender.cs ---
    @@ -671,7 +672,15 @@ public override Stream AcquireLock()
                                {
                                        try
                                        {
    -                                           m_stream = 
CreateStream(m_filename, m_append, FileShare.Read);
    +                        if (m_appendMutex == null)
    +                        {
    +                            if 
(!Mutex.TryOpenExisting(m_appendMutexFriendlyName, out m_appendMutex))
    +                                m_appendMutex = new Mutex(false, 
m_appendMutexFriendlyName);
    --- End diff --
    
    Please wrap this in braces (`{}`)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to