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

[PATCH] EnvironmentPatternConverter does not expand User or System level environment variables under Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.11
    • Component/s: Other
    • Labels:
      None
    • Environment:
      WIndows XP / WIndows 2000. .NET 2.0

      Description

      Under .NET 2.0, there is an additional option on the System.Environment.GetEnvironment method allowing specification of a process level, user level, or machine level environment variable. If not specified, only process level environment variables will be examined.

      The attached patch enhances the EnvironmentPatternConverter. If the specified environment property is not found in the current process environment, the user environment settings will be checked. If the property is still not found, the machine level environment settings will also be tested.

        Attachments

          Activity

            People

            • Assignee:
              ron Ron Grabowski
              Reporter:
              richardjfoster Richard J Foster
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: