You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Ron Grabowski (JIRA)" <ji...@apache.org> on 2008/01/01 01:19:43 UTC

[jira] Assigned: (LOG4NET-123) [PATCH] EnvironmentPatternConverter does not expand User or System level environment variables under Windows

     [ https://issues.apache.org/jira/browse/LOG4NET-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski reassigned LOG4NET-123:
-------------------------------------

    Assignee: Ron Grabowski

> [PATCH] EnvironmentPatternConverter does not expand User or System level environment variables under Windows
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-123
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-123
>             Project: Log4net
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.2.10
>         Environment: WIndows XP / WIndows 2000. .NET 2.0
>            Reporter: Richard J Foster
>            Assignee: Ron Grabowski
>            Priority: Minor
>         Attachments: EnvironmentPatchAndTests.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.