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 with all
logging events in the case of an error, because when an errors occurs the
INFO events contain additional informations (e.g. command line parameters of
the application). But I can't configure the SMTP-Appender for the additional
INFO events because I want to receive the mail only in the case of an error.

No Error: No Mail
Error: Mail including INFO and ERROR

Has anybody a good idea for this problem ?

Bye,

Matthias

--
ms management systems gmbh
Krokamp 29, 24539 Neumünster
Fon     : 04321.9995-49
Fax     : 04321.9995-41
E-Mail  : [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to