Java Mailing List Archive

http://www.java2.5341.com/

Home » Log4J Users List »

What is the simpliest way to add hostname into Subject in SMTP appender?

Vitaly

2008-11-25


Author LoginPost Reply
I'm looking for a way to add hostname into emails which SMTP appender sends. I prefer do not modify log4j.xml on every server, but use some macro for it. Is it doable?

TIA,
Vitaly


   

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@(protected)
For additional commands, e-mail: log4j-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.