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 2007/12/22 20:25:43 UTC

[jira] Resolved: (LOG4NET-115) Expand UserAppDataPath in filename

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

Ron Grabowski resolved LOG4NET-115.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.11
         Assignee: Ron Grabowski

Fixed in r606477 by adding EnvironmentFolderPathPatternConverter to allow System.Environment.SpecialFolder pattern string expansion:

 %envFolderPath{ApplicationData}
 %envFolderPath{Desktop}
 

> Expand UserAppDataPath in filename
> ----------------------------------
>
>                 Key: LOG4NET-115
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-115
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows XP, 2000, 2003, .NET 1.0, 1.1, 2.0
>            Reporter: André Normann
>            Assignee: Ron Grabowski
>            Priority: Minor
>             Fix For: 1.2.11
>
>         Attachments: PatternString.cs, UserAppDataPathPatternConverter.cs
>
>
> I have implemented a new PatternStringConverter which will expand the application AppUserDataPath (System.Windows.Forms.Application.UserAppDataPath). This is usefull, if you wish to log into this directory when a certain user has no write rights for the application directory.
> Here an example: 
> <file type="log4net.Util.PatternString" value="%userappdatapath\Log.txt"/>
> Regards,
> André

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