Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.15
-
None
-
Windows 7 & 10
Description
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.