
29 Sep
2008
29 Sep
'08
8:59 p.m.
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