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 Mississippi John Hurt <jo...@gmail.com> on 2006/03/24 02:15:01 UTC

How to Pass Java String to Email Subject?

Any way to pass a java String variable so that the Log4J email appender can
put it into the subject of the email?  Something that might work like...

log4j.appender.email.Subject = WarningLevel is %JavaVariable

... something like that?