[
https://issues.apache.org/jira/browse/LOG4NET-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ulrich Proeller updated LOG4NET-110:
------------------------------------
Attachment: patch-file.txt
> [PATCH] Expand environment variables in filenames of file appenders
> -------------------------------------------------------------------
>
> Key: LOG4NET-110
> URL: https://issues.apache.org/jira/browse/LOG4NET-110
> Project: Log4net
> Issue Type: New Feature
> Components: Appenders
> Affects Versions: v.Next
> Environment: Windows XP, 2000, 2003, .NET 1.0, 1.1 & 2.0
> Reporter: Ulrich Proeller
> Priority: Minor
> Attachments: patch-file.txt
>
>
> I have added a small patch to Util/SystemInfo.cs to the method
> ConvertToFullPath():
> // Expand Environment variables
> path = Environment.ExpandEnvironmentVariables(path);
> This enables log4net to expand environment variables like %AppData% or
> %AllUsersProfile%.
> I think, this is quite useful if you don't want to log to the application
> directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.