
1 Mar
2011
1 Mar
'11
9:31 a.m.
SMTPAppender maintains a distinct cyclic buffer for each distinct value returned by the discriminator. Buffers unused for 30 minutes are automatically discarded. So contrary to your assumption, there would be one buffer per thread. HTH, -- Ceki On 01.03.2011 10:10, Benoit Xhenseval wrote:
Definitely pushing us in the right direction, thanks.
Question remain however is that, unless I am mistaken, the cyclic buffer would only contain X entries in total and not for each thread. So if a thread was very verbose and the other one, the one causing the error and email, it would not see any entries for that thread in the buffer.
How would you keep a cyclic buffer per thread?
The idea is to get X events for the thread causing the error
Thanks
B