logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio De Simone <desian...@gmail.com>
Subject throw exception from log4net
Date Mon, 08 Feb 2010 10:34:38 GMT
I try to use your log4net dll version 1.2.10.0 and I insert the
incorrect parameters in the. config app, log4net not raise any
exception
Es.
<appender name="EmailLogAppender" type="log4net.Appender.SmtpAppender">
    <to value="" />
   <from value="" />
  <subject value="" />
  <smtpHost value="" />
  <bufferSize value="512" />
  <lossy value="true" />
  <evaluator type="log4net.Core.LevelEvaluator">
      <threshold value="WARN"/>
  </evaluator>
  <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%newline%date [%thread] %-5level
%logger [%property] - %message%newline%newline%newline" />
 </layout>
</appender>

why don't your log4net raise any exception ?
I await your news !
Thanks !

Mime
View raw message