logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piwoni, Andre" <APiw...@dentrix.com>
Subject Rolling doesn't work based on size
Date Thu, 04 May 2006 17:35:59 GMT
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






E-Mail messages may contain viruses, worms, or other malicious code. By reading the message
and opening any attachments, the recipient accepts full responsibility for taking protective
action against such code. Sender is not liable for any loss or damage arising from this message.

The information in this e-mail is confidential and may be legally privileged. It is intended
solely for the addressee(s). Access to this e-mail by anyone else is unauthorized.

Mime
View raw message