[logback-dev] [JIRA] Commented: (LBCORE-60) Allow rolling based on time or file size

Szel Zoltan (JIRA) noreply-jira at qos.ch
Tue Nov 18 13:36:35 CET 2008

    [ http://jira.qos.ch/browse/LBCORE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10916#action_10916 ] 

Szel Zoltan commented on LBCORE-60:

Hi Ceki,

I am very sad seeing this issue be closed :-( 

In most of our applications logging is also used for auditing because of legal purposes. Those applications logs at a very high level(sometimes 2-3GB/DAY !!!). The current logging solution they use allows this feature  where they can make chunks of their huge amount of logging data which can be processed with a script after business hours. Without this we can not recommend them to use Logback which might change our long term strategic decision on moving to this good product in the entire firm(There are 4 groups forcing me to get this feature in place).

The feature i am requesting would not have a big effect on the RollingFileAppender code, it is mostly related to this other issue with the TimeBasedRollingPolicy(http://jira.qos.ch/browse/LBCORE-61). With the fix for the LBCORE-61 issue in place implementing this compound triggering policy would be trivial.

Googling a bit i have found the  CompositeRollingAppender from Log4j which seems to me to provide the same functionality with rollingstyle=3(correct me if i am wrong i do not have too much experience with Log4j). I wonder why this feature is not good enough to be in Logback.

Please consider reopening this issue.

Thanks in advance,


> Allow rolling based on time or file size
> ----------------------------------------
>                 Key: LBCORE-60
>                 URL: http://jira.qos.ch/browse/LBCORE-60
>             Project: logback-core
>          Issue Type: New Feature
>          Components: Appender
>    Affects Versions: 0.9.9
>            Reporter: Szel Zoltan
>            Assignee: Ceki Gulcu
> The rolling grouping file appender allows to roll over on a specific interval(TimeBasedRollingPolicy) or when the log file has reached a specific file size. But unfortunately Logback does not support both to use together. For example if i want to roll over every day but i also want to roll the file when it is greater than 100MB.
> Please consider adding this feature to Logback and feel free to contact me if further clarification is required.
> Thanks,
> Zoltan Szel

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the logback-dev mailing list