
17 Jul
2012
17 Jul
'12
2:13 p.m.
On 17.07.2012 15:15, Andreas Kruthoff wrote:
On 07/11/2012 05:30 PM, ceki wrote:
SiftingAppener cleans unused appenders after 30 minutes.
Will you make it configurable in a future release of logback? I could use such a feature.
If there is demand for it, then yes. If you would be interested in such a feature please create a jira issue asking for it. SMTPAppender which shares similarities with SiftingAppender, will discard buffers when an a logging event with the marker "FINALIZE_SESSION" is encountered. See [1, 2]. So it would be quite easy to add functionality to immediately discard and appender upon an event determined by the developer. [1] http://tinyurl.com/cyh5mv9 [2] http://tinyurl.com/cho3g5k -- Ceki http://tinyurl.com/proLogback