[logback-dev] [JIRA] Created: (LBCORE-247) SiftingAppender - Timeout for closing unused appenders should be configurable

Tommy Becker (JIRA) noreply-jira at qos.ch
Tue Feb 28 21:28:27 CET 2012


SiftingAppender  - Timeout for closing unused appenders should be configurable
------------------------------------------------------------------------------

                 Key: LBCORE-247
                 URL: http://jira.qos.ch/browse/LBCORE-247
             Project: logback-core
          Issue Type: Improvement
          Components: Appender
    Affects Versions: 1.0.0
            Reporter: Tommy Becker
            Assignee: Logback dev list
            Priority: Minor


We are using SiftingAppender to direct logs for each job in our application to a separate file.  These files are typically only written to a few times in pretty quick succession and then they're done.  While the appender works well, we have found that we are creating jobs at a faster rate than it closes the sub-appenders, causing us to eventually run out of file descriptors.  I know about AppenderTracker and will implement a solution using this, but this feels like this timeout value is something that should be configurable on the SiftingAppender.  Or maybe just some kind of boolean to tell it to close sub-appenders more aggressively.  

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