You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2016/11/06 10:08:58 UTC

[jira] [Updated] (LOG4NET-516) Slow email servers can cause SmtpAppender to slow down any system using it

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

Stefan Bodewig updated LOG4NET-516:
-----------------------------------
    Fix Version/s:     (was: 1.2.15)

> 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
>              Labels: easyfix, features, performance
>
> 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)