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

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Mon Nov 17 18:28:35 CET 2008


     [ http://jira.qos.ch/browse/LBCORE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved LBCORE-60.
------------------------------

    Resolution: Won't Fix

Hello Szel,

The MaxHistory property in TimeBasedRollingPolicy can accommodate the needs of most users. If you need to have smaller files, then try a shorter rollover period, for example, daily rollover instead of weekly.

The RollingFileAppender code is already pretty complicated. I don't wish to render it unmanageable. Consequently, I am marking this issue as WONT FIX as opposed to having it rot for eons. 

> 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