Author: bodewig
Date: Tue Sep 20 13:44:19 2011
New Revision: 1173142
URL: http://svn.apache.org/viewvc?rev=1173142&view=rev
Log:
You really, really, really don't want to use RollingFileAppender with multiple
processes logging to the same file
Modified:
logging/log4net/trunk/src/site/xdoc/release/faq.xml
Modified: logging/log4net/trunk/src/site/xdoc/release/faq.xml
URL:
http://svn.apache.org/viewvc/logging/log4net/trunk/src/site/xdoc/release/faq.xml?rev=1173142&r1=1173141&r2=1173142&view=diff
==============================================================================
--- logging/log4net/trunk/src/site/xdoc/release/faq.xml (original)
+++ logging/log4net/trunk/src/site/xdoc/release/faq.xml Tue Sep 20 13:44:19 2011
@@ -703,7 +703,11 @@ public class FastLogger
If you use <span
class="code">RollingFileAppender</span> things
become even worse as several process may try to
- start rolling the log file concurrently.
+ start rolling the log file concurrently. <span
+ class="code">RollingFileAppender</span>
+ completely ignores the locking model when
+ rolling files, rolling files is simply not
+ compatible with this scenario.
</p>
<p>
A better alternative is to have your processes