Re: Conditionaly sending email with Log4j

2007-03-28 Thread James Stauffer
One option would be to have separate loggers per form and then only attach the appender to the desired logggers. Note that SMTPAppender only sends email when it encounters and error (or higher) level logger.. On 3/27/07, tyson magney <[EMAIL PROTECTED]> wrote: I have an electronic forms process

Conditionaly sending email with Log4j

2007-03-27 Thread tyson magney
I have an electronic forms processing application that releases documents to a database. When an exception occurs, the app needs to send an email to an admin depending on which form threw the exception. I already have lo4j in place with an SMTP appender configured. What I cannot figure out is,