logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Rony (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-517) RollingFileAppender issue with Date pattern
Date Tue, 31 May 2016 09:30:12 GMT
Joseph Rony created LOG4NET-517:

             Summary: RollingFileAppender issue with Date pattern
                 Key: LOG4NET-517
                 URL: https://issues.apache.org/jira/browse/LOG4NET-517
             Project: Log4net
          Issue Type: Bug
          Components: Builds
    Affects Versions: 1.2.15
         Environment: software
            Reporter: Joseph Rony
             Fix For: 1.2.14

Version 1.2.14 has fixed rollingfile appender issue for date pattern. But in version 1.2.15
doesnt deletes the log file for the value mentioned in 'maxSizeRollBackups'.

I have attached the Configuration details below.

<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
      <file type="log4net.Util.PatternString" value="MyProduct.log" />
      <datePattern  value="'.'yyyy-MM-dd"/>
      <appendToFile  value="true"/>
      <rollingStyle  value="Date"/>
      <staticLogFileName  value="false"/>
      <maxSizeRollBackups value="1" />
      <preserveLogFileNameExtension value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%r %d [%t] %-5p %c - %m%n"/>

Please check this bug.

This message was sent by Atlassian JIRA

View raw message