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
            Priority: Critical


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to