You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Steve Mactaggart <st...@golftime.com.au> on 2004/04/13 06:26:09 UTC

SMTPAppender changing message subject

Just a quick question, but is it possible to modify the subject of a message
sent by the SMTPAppender based on a MDC value, or the log level or the
thread or something?

I filter my email based on subject and from and such, would be good to be
able to show the messages as "log4j email - FATAL" or "log4j email - ERROR"
depending on the event that triggered the email.

If this doesn't exist, I may investigate doing this myself, but thought I'd
check if it does, or anyone else already has made the modification.

Thanks

Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org