log4j email appender and hostname

2010-04-23 Thread Curtis Garman
Does anyone know if it is possible to access the HOSTNAME environment variable in a log4j.properties file. Basically I'm using the email appender and would like to include the host in the email subject line so I can easily determine which server generated the email. I can hard-code this info but I

Re: [OT] log4j email appender and hostname

2010-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Curtis, (Marking OT because this has nothing to do with Tomcat). On 4/23/2010 11:06 AM, Curtis Garman wrote: Does anyone know if it is possible to access the HOSTNAME environment variable in a log4j.properties file. Basically I'm using the email