logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolei Zinsli" <nzin...@baudville.com>
Subject Rolling date file not working
Date Thu, 30 Jun 2011 20:13:40 GMT
I've changed the log4net settings on our servers so it should create a
new log every day. It seems to be working great on our development
servers, but not on production. The web.congifs look identical. Can
anyone tell me what might be wrong?


Web config entry...


    <appender name="RollingFile"

                        <file value="App_Data\\Logs\BVLogs.log" />

                        <rollingStyle value="Date" />

                        <datePattern value="yyyyMMdd" />

                        <appendToFile value="true" />

                        <maximumFileSize value="1GB" />

                        <maxSizeRollBackups value="60" />

                        <layout type="log4net.Layout.PatternLayout">

                                    <conversionPattern value="%date
%level %logger - %message%newline" />




      <level value="ALL" />

      <appender-ref ref="RollingFile" />






View raw message