logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harp, George" <GH...@GAINSystems.com>
Subject RE: How to Pass Java String to Email Subject?
Date Fri, 24 Mar 2006 14:21:05 GMT
Cam you extend email appender then read system property at runtime? 

-----Original Message-----
From: Mississippi John Hurt [mailto:johnhurt@gmail.com] 
Sent: Thursday, March 23, 2006 7:15 PM
To: Log4J Users List
Subject: 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?

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


Mime
View raw message