qos-ch/logback — pull request #107 by twbecker (2013-04-12 23:54:31+00:00)
Title: Logback 244 and 724 - Add configuration options for SiftingAppender

Resubmitting this request since I moved it to a branch on my fork.

This change adds 2 configurable attributes to AppenderTracker and hence
SiftingAppender. The first is maxAppenders, which limits the number of
sub-appenders the SiftingAppender will have open at any given time.
This can help prevent resource exhaustion such as running out of file
descriptors or other resources consumed by the appenders.

The second configuration option is timeout, which specifies the time
in seconds after which a sub-appender will be closed if it has not been
written to. Previously, this value was hard coded to 30 minutes.
This option addresses RFEs http://jira.qos.ch/browse/LOGBACK-244
and http://jira.qos.ch/browse/LOGBACK-724.

These configuration options are specified as nested "maxAppenders" and
"timeout" elements within the appender element for the sifting appender.

Updated to use elements instead of attributes per maintainers comment.