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

Leung Wang Hei (JIRA) noreply-jira at qos.ch
Fri Dec 5 02:39:14 CET 2008


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

Leung Wang Hei commented on LBCORE-60:
--------------------------------------

I have wrote a temp. solution for this.  The code is a bit dirty though.  Free feel let me know for any bugs there.

> 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
>         Attachments: SizeTimeBasedRolloingPolicy-0.9.9-src.rar
>
>
> 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