7 Apr 2010 19:30
Log4net RollingFileAppender stops to roll over
<juergen.ernst <at> pta.de>
2010-04-07 17:30:34 GMT
2010-04-07 17:30:34 GMT
Hello,
I'm using log4net v1.2.10 and encountered the following problem:
I'm using a rolling file appender and everything worked quite fine for a
while. But suddenly (after some weeks) the RollingFileAppender stops to
roll over for no obvious reason (at least I can see no reason) and now I
have a really very big log file.
Can you help me?
The application runs on a Windows 2003 system. Here comes my config file:
++++++++++++++++++++++++++
<?xml version="1.0" encoding="utf-8"?>
<log4net>
<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">
<param name="File" value="C:\\Documents and Settings\\All
Users\\Application Data\\CWS\\log\\CWSServer.log"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="50"/>
<param name="RollingStyle" value="Date"/>
<param name="DatePattern" value="yyyyMMdd"/>
<param name="StaticLogFileName" value="true"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d{dd.MM.yyyy HH:mm:ss} [%t]
%-5p %c{1} - %m%n"/>
</layout>
(Continue reading)
RSS Feed