|
Actually, RollingLogFileAppender rolls
file but not when maximumFileSize has been reached. I noticed that no matter
what value I specify for maximumFileSize it rolls file when size reaches approximately
maximumFileSize * 8. This suggest some byte/bit conversion bug. Andre From: Piwoni, Andre
[mailto:[EMAIL PROTECTED] RollingLogFileAppender doesn’t roll file based on
size. It is used within windows service. Here’s part of my configuration file: <appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">
<file value="${windir}\\ FaxService.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="100KB" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] -
%m%n" />
</layout> </appender> Does anyone have any idea why? Andre
|
- Rolling doesn't work based on size Piwoni, Andre
- RE: Rolling doesn't work based on size Piwoni, Andre
- Re: Rolling doesn't work based on size Hollywood
- RE: Rolling doesn't work based on size Piwoni, Andre
- Re: Rolling doesn't work based on size Hollywood
