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

misleading error message

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.13
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      any

      Description

      If external configuration file is used (with "log4net.Config" appsettings), "Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration section should look like: <section name=\"log4net\" type=\"log4net.Config.Log4NetConfigurationSectionHandler,log4net\" />" error message is logged. It should be checked within XmlConfigurator.InternalConfigure(ILoggerRepository repository) implementation for external file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yemre yunus emre alpözen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: