Hi,

I'm using SMTPAppender to send out an e-mail whenever an error event is
logged. I'm finding that when I log an exception like this

catch (Exception e)
{
    cat.error("Oops!", e);
}

the e-mail will only have the "Oops!" line, whereas my rotating file log
will also have the stack trace. 

I'd like to have the stack trace in the e-mail as well. Is there a
simple way to do that? 

Thanks,

        Omer van der Horst Jansen

[EMAIL PROTECTED]

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

Reply via email to