logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1165715 - /logging/log4net/trunk/src/Appender/FileAppender.cs
Date Tue, 06 Sep 2011 15:25:44 GMT
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)
 					{



Mime
View raw message