Limiting events to one thread in email

Hi *, We're running an application on large multi-threaded servers. When an exception/error occurs, we send an email with the last 50 DEBUG entries or so. How could we ensure that these 50 entries are limited to the Thread that is actually sending the error email? If there is no such implementation, what would be the recommended way? We can probably contribute it back to the community Many thanks Benoit ----- Important Notice This communication contains information that is considered confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original

Have a look at http://logback.qos.ch/recipes/emailPerTransaction.html HTH, -- Ceki On 17.02.2011 15:49, Benoit Xhenseval wrote:
Hi *,
We're running an application on large multi-threaded servers. When an exception/error occurs, we send an email with the last 50 DEBUG entries or so.
How could we ensure that these 50 entries are limited to the Thread that is actually sending the error email?
If there is no such implementation, what would be the recommended way?
We can probably contribute it back to the community
Many thanks
Benoit
participants (2)
-
Benoit Xhenseval
-
Ceki Gulcu