[logback-dev] [JIRA] Commented: (LBCORE-57) FlushableAppender

Bruno Navert (JIRA) noreply-jira at qos.ch
Fri Sep 26 13:28:50 CEST 2008

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

Bruno Navert commented on LBCORE-57:

One key use-case for this: trigger a manual .flush() when an error (stack trace) occurs in the application. This makes sure that the log file is always up to date in that situation, otherwise it's entirely possible that part of the stack trace is still held in the in-memory buffer, and developers looking at the log file will not see it.

> FlushableAppender
> -----------------
>                 Key: LBCORE-57
>                 URL: http://jira.qos.ch/browse/LBCORE-57
>             Project: logback-core
>          Issue Type: Improvement
>          Components: Appender
>    Affects Versions: 0.9.9
>            Reporter: Bruno Navert
>            Assignee: Logback dev list
>            Priority: Minor
>         Attachments: DirectoryCreateRollingFileAppender.java, FlushableAppender.java
> Create a FlushableAppender interface for appenders that can be manually flushed (only relevant if bufferingIO is enabled)
> Interface can simply extend Appender and java.io.Flushable

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