You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2011/09/06 17:25:44 UTC

svn commit: r1165715 - /logging/log4net/trunk/src/Appender/FileAppender.cs

Author: bodewig
Date: Tue Sep  6 15:25:44 2011
New Revision: 1165715

URL: http://svn.apache.org/viewvc?rev=1165715&view=rev
Log:
Make MinimalLock work again with appendToFile=false.  LOG4NET-311, fixes two tests mentioned in LOG4NET-301, regression introduced as part of LOG4NET-164

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

Modified: logging/log4net/trunk/src/Appender/FileAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/FileAppender.cs?rev=1165715&r1=1165714&r2=1165715&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/FileAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/FileAppender.cs Tue Sep  6 15:25:44 2011
@@ -557,6 +557,7 @@ namespace log4net.Appender
 					try
 					{
                         m_stream = CreateStream(m_filename, m_append, FileShare.Read);
+                        m_append = true;
 					}
 					catch (Exception e1)
 					{