Log4net
  1. Log4net
  2. LOG4NET-228

log4net.Util.HostName may throw System.Configuration.ConfigurationErrorsException in System.Net.Dns.GetHostName(). The exception should be ignored.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.12
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Stefan Bodewig added a comment -

      What are the circumstances that make Dns.GetHostName throw a ConfigurationException? The docs don't say it could do so.

      Show
      Stefan Bodewig added a comment - What are the circumstances that make Dns.GetHostName throw a ConfigurationException? The docs don't say it could do so.
      Hide
      Dominik Psenner added a comment -

      Improved exception handling as of revision: 1490196

      Show
      Dominik Psenner added a comment - Improved exception handling as of revision: 1490196

        People

        • Assignee:
          Dominik Psenner
          Reporter:
          Igor Buchelnikov
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development