
30 Sep
2008
30 Sep
'08
9:39 a.m.
Hello Chris, It should work the same way. If it doesn't, it is a bug. If so, I would appreciate if you could file a bug report at http://jira.qos.ch/ Regards, Mayes, Christopher wrote:
Hi, there.
Is there a way to get the reporting machine's hostname into the subject of the SMTPAppender's email address? According to a blog post, (http://blog.spiralarm.com/richard/2007/10/watching-production-logs.html) you can do something like this for log4j:
<param name="Subject" value="[SMTPAppender] ${user.name}@${hostname} error message" />
Is there a Logback equivalent?
Thanks,
-Chris
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch