You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Roy Chastain (JIRA)" <ji...@apache.org> on 2011/09/11 20:29:09 UTC

[jira] [Assigned] (LOG4NET-240) Backup of logs are not created when application is running and at the same time date changes.

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

Roy Chastain reassigned LOG4NET-240:
------------------------------------

    Assignee: Roy Chastain

> Backup of logs are not created when application is running and at the same time date changes.
> ---------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-240
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-240
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: XP
>            Reporter: renuka
>            Assignee: Roy Chastain
>            Priority: Critical
>             Fix For: 1.2 Maintenance Release
>
>
> Hi,
> I have set configuration properties as below.
> <appender name="DMLRollingFileAppender" type="log4net.Appender.RollingFileAppender">
> 			<file value="DML Log.txt" />
> 			<appendToFile value="true" />
> 			<rollingStyle value="Composite" />
> 			<maxSizeRollBackups value="5" />
> 			<maximumFileSize value="5000KB" />
> 			<datePattern value=".yyyyMMdd" />
> 			<staticLogFileName value="true" />
> 			<layout type="log4net.Layout.PatternLayout">
> 				<conversionPattern value="%date{HH:mm:ss} %-5logger %-5level [%-15.15thread] > %message%newline"/>
> 			</layout>
> 		</appender>
> When is in running mode, data gets locked correctely but in the mean time if date changes, previous date's backup is not getting created. This happens only if application is running else it works perfectely.
> Please help.

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