Cassie Mod

Cassie Mod

  • NA
  • 488
  • 71.1k

log4net send several emails

Feb 22 2016 4:47 AM
hi,
 
I use log4net to create a logging system.
However log4net now sends 940 emails wich contain all 1 line of text.
instead of just one email.
 How can i fix this ?
 
here is my config file:
<appender name="EmailAppender" type="log4net.Appender.SmtpAppender">
<param name="Threshold" value="INFO" />
<subject value="Tribess Rating Error Report" />
<to value="[email protected]" />
<from value="TribessRatingChecker &lt;[email protected]&gt;" />
<smtpHost value="smtp-out.onexs.com" />
<bufferSize value="1000" />
<lossy value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date{yyyy-MM-dd HH:mm:ss,fff} %-5level - %message%newline" />
</layout>
</appender> 

Answers (2)