[ 
https://issues.apache.org/jira/browse/LOG4NET-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers updated LOG4NET-330:
--------------------------------

LOG4NET is now dormant.  

> Service fails to start if MailAppender threshold value is INFO or lower.  
> --------------------------------------------------------------------------
>
>                 Key: LOG4NET-330
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-330
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.11
>         Environment: Windows 2008 R2 x64.  
>            Reporter: Bruce Cummins
>            Priority: Minor
>
> If I place the following mail appender in our service config file, and add an 
> appender reference, the service will not start.  If I set the threshold to 
> WARN or higher, the service starts.  
> Worked fine in previous versions of log4net.
> <appender name="MailAppender" type="log4net.Appender.SmtpAppender">
>               <threshold value="INFO" />
>               <to value="[email protected]" />
>               <from value="[email protected]"/>
>               <subject type="log4net.Util.PatternString" value="%date{yyyy MM 
> dd}: %appdomain at %env{COMPUTERNAME} threw an error" />
>               <smtpHost value="MailHost"/>
>               <port value="25" />
>               <authentication value="None" />
>               <layout type="log4net.Layout.PatternLayout">
>                       <conversionPattern value="%date [%thread] %-5level 
> %logger - %message%newline" />
>               </layout>
>               <bufferSize value="10"/>                
>       </appender>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to