logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4NET-251) RollingFileAppender with rollingStyle="Date" and maximumFileSize both are not working Simultaneously.
Date Tue, 06 Sep 2011 11:28:09 GMT

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

Stefan Bodewig resolved LOG4NET-251.
------------------------------------

    Resolution: Invalid

This really is a user-list question.

In order to roll on date and size you must use "Composite" as rollingStyle.  See the third
example in http://logging.apache.org/log4net/release/config-examples.html#RollingFileAppender

> RollingFileAppender with rollingStyle="Date"  and maximumFileSize both are not working
Simultaneously. 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-251
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-251
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>         Environment: windows-7 OS
>            Reporter: rakesh
>
> I have one problem with RollingFileAppender Type.
> when i am create a configuration with rollingstyle=Date and with maximumFileSize=1 KB.
then also appender is write a more then 1 kb. of file size.
> now we remove a  rollingstyle=Date then it works fine with maximumFileSize. is there
are any problem with maximumFileSize and rollingstyle=Date ?

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

        

Mime
View raw message