[logback-user] additional feature for DuplicateMessageFilter desired
the KD
kevin.ding at realpage.com
Thu Jun 28 00:45:38 CEST 2012
I tried to use this filter for limiting number of errors sent to production
support. but, without a time duration, it is not practical, because if i
set the repetition limit to 3, for example, it will be never logged again.
this is not good since i won't be able to tell whether this is caused by the
problem being gone or by the filtering. it would be more useful, for my
purpose at least, to have some property specifiying some time window. For
example, drop logging if within 1 hour a message have been repeated more
than 3 times. this will limit the number of repeated messages, but also
keep throwing them to indicate the continued existence of the error.
--
View this message in context: http://old.nabble.com/additional-feature-for-DuplicateMessageFilter-desired-tp34083566p34083566.html
Sent from the Logback User mailing list archive at Nabble.com.
More information about the Logback-user
mailing list