|
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
