logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1544744 - /logging/log4net/trunk/src/log4net/Appender/FileAppender.cs
Date Sat, 23 Nov 2013 06:31:03 GMT
Author: bodewig
Date: Sat Nov 23 06:31:03 2013
New Revision: 1544744

URL: http://svn.apache.org/r1544744
Log:
LOG4NET-408 InterprocessLock forgot there was a Mutex to close after closing the file for
the first time, causing problems with rolling files.  Patch by  Igor Candido via github PR.
 closes #6

Modified:
    logging/log4net/trunk/src/log4net/Appender/FileAppender.cs

Modified: logging/log4net/trunk/src/log4net/Appender/FileAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/log4net/Appender/FileAppender.cs?rev=1544744&r1=1544743&r2=1544744&view=diff
==============================================================================
--- logging/log4net/trunk/src/log4net/Appender/FileAppender.cs (original)
+++ logging/log4net/trunk/src/log4net/Appender/FileAppender.cs Sat Nov 23 06:31:03 2013
@@ -679,6 +679,7 @@ namespace log4net.Appender
                             .Replace("/", "_");
 
                     m_mutex = new Mutex(false, mutextFriendlyFilename); 
+                    m_mutexClosed = false;
                 }
                 catch (Exception e1)
                 {



Mime
View raw message