john weidman created LOG4NET-516:
------------------------------------

             Summary: Slow email servers can cause SmtpAppender to slow down 
any system using it
                 Key: LOG4NET-516
                 URL: https://issues.apache.org/jira/browse/LOG4NET-516
             Project: Log4net
          Issue Type: Improvement
          Components: Appenders
    Affects Versions: 1.2.15
         Environment: Windows 7 & 10
            Reporter: john weidman
             Fix For: 1.2.15


When using log4net with an SmtpAppender if the email server that the messages 
are going to is under an excessive load and the messages back up all of the 
Log4Net logging slows down and makes the system unusable.

It seems like exposing the timeout value on the SmtpClient as a configurable 
option would allow code to continue, even if it does drop an email request. 
Otherwise the logging system can bring the system to a standstill. The default 
Timeout for SmtpClient is 100 sec.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to