logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy Chastain (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (LOG4NET-240) Backup of logs are not created when application is running and at the same time date changes.
Date Sun, 11 Sep 2011 18:29:09 GMT

     [ 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

        

Mime
View raw message