Thanks for the prompt reply Daniel. This is how I ended up fixing it - basically removed the evaluator and added threshold. But the only way threshold worked was when I added bufferSize = 1 because I wanted the process to email me immediately in case of any errors.
<appender name="SmtpAppender" type="log4net.Appender.SmtpAppender"> <threshold value="ERROR"/> <to [EMAIL PROTECTED] /> <from [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> /> <subject value="${COMPUTERNAME} Process ABC Error" /> <smtpHost value="localhost" /> <bufferSize value="1" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%newline%date [%thread] %-5level %logger [%property{NDC}] - %message%newline%newline%newline" /> </layout> </appender> -----Original Message----- From: Daniel Marohn [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Friday, February 15, 2008 10:07 AM To: Log4NET User Subject: Re: Performance Issues with SMTP Appender The problem is, that you use the evaluator type="log4net.Core.LevelEvaluator"> <threshold value="WARN"/> </evaluator> Every message needs to be checked if it matchs the filter. Perhaps you can set the filterlevel inside the <logger> definition? I guess this would speed up things.
