Maarten,

That was it!

Calling appender.activateOptions(); did the trick. 

Thanks SO much!

David.

Maarten Bosteels-4 wrote:
> 
> I haven't tried it, but maybe it helps to call activateOptions()
> 
> Like this:
> 
> appender.setSubject(currEnv.toUpperCase()+": "+appender.getSubject());
> appender.activateOptions()
> 
> Maarten
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can%27t-figure-out-how-to-change-email-appender-subject-dynamically-tf2416386.html#a6754657
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to