Re: How to get all logging in the case of an error ?

2006-12-21 Thread James Stauffer
Did you try SMTPAppender? On 12/21/06, Matthias Petersen <[EMAIL PROTECTED]> wrote: I've discussed you're ideas with my collegues and it seems to be a general question, so my questions doesn't belong only to the SMTP-Appender. It just get back logging events that we're already thrown away due to

Re: How to get all logging in the case of an error ?

2006-12-19 Thread James Stauffer
AFAIK, SMTPAppender supports that. What happened when you tried it? On 12/19/06, Matthias Petersen <[EMAIL PROTECTED]> wrote: Hi, I have the following configuration: ConsoleAppender for INFO and ERROR SMTP-Appender for ERROR The problem is that I want to send a mail with the SMTP-Appender wit

RE: How to get all logging in the case of an error ?

2006-12-19 Thread Blok, Eelke
Hi Matthias, I would suggest to write your own appender that extends SMTPAppender and implements the desired logic of gathering related log messages, and sends them out when an error is received. You'd probably want to implement some mechanism that restricts the amount of context that is reta