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

unable to use configSource for log4net section in app.config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.0.8
    • None
    • Core
    • None

    Description

      given this app.config <log4net configSource="config\active\log4net.config"/>

      I get this from internal debug:

      log4net: configuring repository [log4net-default-repository] using file [XXXXXX\config\activelog4net.config]
      log4net: config file [XXXXXX\config\activelog4net.config] not found. Configuration unchanged.

      the path

      XXXXXX\config\activelog4net.config

      should have been

      XXXXXX\config\active\log4net.config

      for some reason last slash is mising

      Attachments

        Activity

          People

            Unassigned Unassigned
            mylonas fotis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: