You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/05/01 06:43:46 UTC
[jira] [Commented] (LOG4J2-35) Allow RollingFileAppender to do
Rolling with a Date Pattern or DailyRollingFileAppender to have Max Backup
Parameter
[ https://issues.apache.org/jira/browse/LOG4J2-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265655#comment-13265655 ]
Ralph Goers commented on LOG4J2-35:
-----------------------------------
While Log4j 2 includes support for this I still want to add an additional parameter to allow the file to roll on an interval. For example, if the time format is in hours and the interval is 4 then the file should roll at 04:00, 08:00, 12:00, 16:00, 20:00 and midnight.
> Allow RollingFileAppender to do Rolling with a Date Pattern or DailyRollingFileAppender to have Max Backup Parameter
> --------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-35
> URL: https://issues.apache.org/jira/browse/LOG4J2-35
> Project: Log4j 2
> Issue Type: New Feature
> Components: Appenders
> Environment: any
> Reporter: JT
> Labels: appender, rolling, time
>
> It would be nice to be able roll files with a date pattern and not just an index while still being able to specify the max file size and number of copies to keep. Alternatively it would be good to be able to us the DailyRollingFileAppender with a max copies to keep parameter
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org