Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-516

Slow email servers can cause SmtpAppender to slow down any system using it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.15
    • None
    • Appenders
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dfs_dev john weidman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: