[logback-dev] [JIRA] Commented: (LBCORE-54) FileAppender to support FileNamePattern option

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Mon Aug 18 22:47:45 CEST 2008


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

Ceki Gulcu commented on LBCORE-54:
----------------------------------

The easiest way to accomplish this is to sub-class TimeBasedRolling so that the isTriggeringEvent() method always returns false. 

> FileAppender to support FileNamePattern option
> ----------------------------------------------
>
>                 Key: LBCORE-54
>                 URL: http://jira.qos.ch/browse/LBCORE-54
>             Project: logback-core
>          Issue Type: Improvement
>          Components: Appender
>         Environment: Any
>            Reporter: Chris Cheshire
>            Assignee: Logback dev list
>
> It would be very useful if the base FileAppender supported the FileNamePattern option, the same as the rolling policy classes do for the RollingFileAppender. This will allow for log files to be created directly into a date based directory in the format of "logs/yyyy/MM/dd/appname.log".

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