[ 
https://issues.apache.org/jira/browse/LOG4NET-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Bodewig updated LOG4NET-280:
-----------------------------------

    Fix Version/s: 1.2 Maintenance Release

> Rolling appender doesnt roll 0kb file, configured to roll on date.
> ------------------------------------------------------------------
>
>                 Key: LOG4NET-280
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-280
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>         Environment: asp.net 2.0
>            Reporter: Naveen Jakkur Muniraju
>            Priority: Blocker
>             Fix For: 1.2 Maintenance Release
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> We are using a log4net version 1.2.10.1. We have a web application in which 
> we are using log4net rolling appender for application logging. 
> However the files which are 0Kb is not rolling on a daily basis. Below is the 
> configuration we are using. It's configured to roll on a date basis. 
> The logs which are >0kb are rolling fine.
> <appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
>                       <param name="File" value="D:\LogFiles\abc\abc_"/>
>                       <param name="AppendToFile" value="true"/>
>                       <param name="RollingStyle" value="Date"/>
>                       <param name="DatePattern" value="yyyyMMdd.LOG"/>
>                       <param name="staticLogFileName" value="false"/>
>                       <param name="ImmediateFlush" value="true"/>
>                       <layout type="log4net.Layout.PatternLayout">
>                               <param name="ConversionPattern" value="%d [%t] 
> %-5p %c - %m%n"/>
>                       </layout>
>                       <filter type="log4net.Filter.LevelRangeFilter">
>                               <param name="LevelMin" value="DEBUG"/>
>                               <param name="LevelMax" value="FATAL"/>
>                       </filter>
>               </appender>
>               <logger name="FileLogger">
>                       <level value="INFO"/>
>                       <appender-ref ref="FileAppender"/>
>               </logger>
> Any help ASAP will be appreciated. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to