logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Dynamic SmtpAppender subject
Date Fri, 22 Dec 2006 03:22:00 GMT
Its not possible with the current implementation of SmtpAppender. I recall someone posting
code showing how it could be done (its not terribly difficult).

If the SmtpAppender is setup to buffer messages, what message should appear in the subject:
the most recent one, the first one, the most critical one?

I think it would be an ok idea to consider making more properties aware of layouts instead
of just strings.

----- Original Message ----
From: Morten Andersen <morten@vianett.no>
To: Log4NET User <log4net-user@logging.apache.org>
Sent: Thursday, December 21, 2006 2:12:14 PM
Subject: Dynamic SmtpAppender subject


Is it possible to use the log message as subject on the smtp appender?

- Morten

View raw message