Log4net
  1. Log4net
  2. LOG4NET-53

Allow repository properties to be set in the config file

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.10
    • Component/s: Core
    • Labels:
      None

      Description

      The LoggerRepository supports Properties. These are avaliable to the extensions, appenders, and plugins attached to the repository. While these properties can be set programatically it is not possible to set them through the config file.

      We should allow properties to be set in the config file using the following schema:

      <property>
      <key value="PropertyName" />
      <value value="PropertyValue" />
      </property>

        Issue Links

          Activity

          Hide
          Nicko Cadell added a comment -

          Added method AddProperty to Hierarchy. The <property> element in the config maps through to this method.

          Show
          Nicko Cadell added a comment - Added method AddProperty to Hierarchy. The <property> element in the config maps through to this method.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development