logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4NET-280) Rolling appender doesnt roll 0kb file, configured to roll on date.
Date Wed, 05 Jun 2013 08:13:22 GMT

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

Dominik Psenner updated LOG4NET-280:
------------------------------------

    Priority: Minor  (was: Blocker)
    
> 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: Minor
>             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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message