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

Allow the RepositorySelector type to be specified using the AppSettings config

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Core
    • Labels:
      None

      Description

      Allow the RepositorySelector type to be sepecified using the AppSettings config.

      The RepositorySelector is set by default to be DefaultRepositorySelector. This can be changed programatically by setting the LoggerManager.RepositorySelector property, however it cannot be set at runtime via the application configuration files.

      Propose adding an AppSettings property 'log4net.RepositorySelector' that can be set to the type name of the repository selector to load. If this property is missing, or the type cannot be created the current default behaviour will continue.

        Activity

        Hide
        nicko Nicko Cadell added a comment -

        Added code to the LoggerManager to lookup the AppSettings key "log4net.RepositorySelector" for the type name of the selector to use.

        Show
        nicko Nicko Cadell added a comment - Added code to the LoggerManager to lookup the AppSettings key "log4net.RepositorySelector" for the type name of the selector to use.

          People

          • Assignee:
            nicko Nicko Cadell
            Reporter:
            nicko Nicko Cadell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development