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 "Dominik Psenner (JIRA)" <ji...@apache.org> on 2016/11/05 19:59:58 UTC
[jira] [Closed] (LOG4NET-255) Problem with getting path to appdata
with windows service in Windows XP
[ https://issues.apache.org/jira/browse/LOG4NET-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Psenner closed LOG4NET-255.
-----------------------------------
Resolution: Won't Fix
Assignee: Dominik Psenner
WinXP has reached end of life and we are not going to implement a hack for it. Closing as won't fix. Whoever hits this issue is better off by finding a workaround.
> Problem with getting path to appdata with windows service in Windows XP
> -----------------------------------------------------------------------
>
> Key: LOG4NET-255
> URL: https://issues.apache.org/jira/browse/LOG4NET-255
> Project: Log4net
> Issue Type: Bug
> Affects Versions: 1.2.10
> Environment: Windows XP, C# , Windows Service
> Reporter: Martin B.
> Assignee: Dominik Psenner
> Fix For: 1.2 Maintenance Release
>
>
> I've got windows service in C# which using RollingFilleAppender that logs to appdata folder. Everything works fine in Vista, W7 or 2008 server, ${APPDATA} is correctly replaced by corresponding path to app data folder. But when i run my service in Windows XP I get following error through internal debugger.
> log4net:ERROR [RollingFileAppender] Unable to acquire lock on file \\MyTestApp\LOG\LOG.TXT. Could not find a part of the path '\\MyTestApp\LOG'.
> Logger path setting from config file is below:
> <file value="${APPDATA}\\MyTestApp\\LOG\\LOG.TXT"/>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Re: [jira] [Closed] (LOG4NET-255) Problem with getting path to
appdata with windows service in Windows XP
Posted by Arun Kumar <ar...@hotmail.com>.
Unsubscribe
Get Outlook for Android<https://aka.ms/ghei36>
From: Dominik Psenner (JIRA)
Sent: Sunday, November 6, 01:30
Subject: [jira] [Closed] (LOG4NET-255) Problem with getting path to appdata with windows service in Windows XP
To: Log4NET Dev
[ https://issues.apache.org/jira/browse/LOG4NET-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Psenner closed LOG4NET-255. ----------------------------------- Resolution: Won't Fix Assignee: Dominik Psenner WinXP has reached end of life and we are not going to implement a hack for it. Closing as won't fix. Whoever hits this issue is better off by finding a workaround. > Problem with getting path to appdata with windows service in Windows XP > ----------------------------------------------------------------------- > > Key: LOG4NET-255 > URL: https://issues.apache.org/jira/browse/LOG4NET-255 > Project: Log4net > Issue Type: Bug > Affects Versions: 1.2.10 > Environment: Windows XP, C# , Windows Service > Reporter: Martin B. > Assignee: Dominik Psenner > Fix For: 1.2 Maintenance Release > > > I've got windows service in C# which using RollingFilleAppender that logs to appdata folder. Everything works fine in Vista, W7 or 2008 server, ${APPDATA} is correctly replaced by corresponding path to app data folder. But when i run my service in Windows XP I get following error through internal debugger. > log4net:ERROR [RollingFileAppender] Unable to acquire lock on file \\MyTestApp\LOG\LOG.TXT. Could not find a part of the path '\\MyTestApp\LOG'. > Logger path setting from config file is below: > -- This message was sent by Atlassian JIRA (v6.3.4#6332)