I am working on a web farm environment, using log4net as our logging solution. Any time we receive a Error or Fatal message to Log4Net we use the SmtpAppender to send an email.
What we would like is to include the server name the error occurred on in the email message (or subject). Right now our pattern layout looks like this?
<layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%d %-4r [%t] %-5p %c %x - %m%n" /> </layout> Thank you.