![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
1.0.13 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
24/Jan/14 7:21 PM
|
|
Description:
|
We have a sifting appender (example below) that has a short timeout window in addition to a filter.
Our issue is that the appenders created by the sifter are only being removed when stale if a logging statement makes it through the filter, and hence to SiftingAppenderBase.append().
As this sifter rarely allows logging statements through (our real filter is very restrictive) we sometimes have stale appenders that are open for days.
While we could certainly poke through the AppenderTracker every so often, what about adding optional functionality that would spin up a thread for all SiftingAppenders and at X (configurable) frequency check for, close and remove any stale appenders (such as with AbstractComponentTrackker.removeStaleComponents()).
|
|
Project:
|
logback
|
|
Labels:
|
siftingAppender
|
|
Priority:
|
Minor
|
|
Reporter:
|
Jason Klapste
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev