[logback-dev] [JIRA] Commented: (LBCORE-94) Rollover at launch time

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Tue Jul 7 23:26:10 CEST 2009


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

Ceki Gulcu commented on LBCORE-94:
----------------------------------

This issue is just a reordering of File and RollingPolicy properties. File must always precede RollingPolicy .

> Rollover at launch time
> -----------------------
>
>                 Key: LBCORE-94
>                 URL: http://jira.qos.ch/browse/LBCORE-94
>             Project: logback-core
>          Issue Type: Bug
>          Components: Rolling
>    Affects Versions: 0.9.15
>            Reporter: Ceki Gulcu
>            Assignee: Ceki Gulcu
>
> Rollover does not occur for old files when short lived application is restarted. This issue is related to LBCORE-26.However, the solution implemented in LBCORE-26 works if the RollingFileAppender has the File property set. This is not always the case. For instance
>   <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
>         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
>            <FileNamePattern>test.%d.log.zip</FileNamePattern>
>         </rollingPolicy>
>         <layout/>
>     </appender>
>     <root level="info">
>         <appender-ref ref="FILE"/>
>     </root>
> Problem originally reported by Ch Pasha. See also http://www.qos.ch/pipermail/logback-user/2009-March/001030.html

-- 
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