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

Johan Bos (JIRA) noreply-jira at qos.ch
Thu Jul 2 12:03:10 CEST 2009


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

Johan Bos commented on LBCORE-60:
---------------------------------

Thanks for the lib, 

I think that the class was compiled for Java 1.6, though logback minimum requirements is Java 1.5

So just in case people wonder why they got a:

Failed to instantiate [ch.qos.logback.classic.LoggerContext]
Reported exception:
java.lang.UnsupportedClassVersionError: Bad version number in .class file

But still, thanks for the functionality, it helps for those passing from log4j to logback... could see this as a drawback

> 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