You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Ron Grabowski <ro...@yahoo.com> on 2007/08/03 04:58:49 UTC
Re: using log4net on Windows Server 2003
The line after that is usually:
log4net: XmlConfigurator: configuring repository
[log4net-default-repository] using file [d:/hosting/log4net.config]
watching for file updates
Does the account have the necessary permissions to read the log4net config file?
----- Original Message ----
From: John M. Muirhead <Jo...@trinsys.com>
To: Log4NET User <lo...@logging.apache.org>
Sent: Monday, July 30, 2007 1:05:08 PM
Subject: RE: using log4net on Windows Server 2003
<!--
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
span.EmailStyle18
{font-family:Arial;color:navy;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{}
-->
Here is the log file I got from DebugView.
I am using ASP.NET, a web service to be precise. I created a method to get the
log information and create a log file with some data. The logger I create, has
enabled = false. However, this all works fine on my local pc running XP.
-----Original Message-----
From: Kevin Parkinson
[mailto:devn.kevin@gmail.com]
Sent: Monday, July 30, 2007 11:43
AM
To: Log4NET User
Subject: Re: using log4net on
Windows Server 2003
***********************
No virus was detected in the attachment no filename
No virus was detected in the attachment no filename
***********-***********
John:
What makes you think it is a problem with log4net and
Windows Server 2003? Can I assume that it is an ASP.NET
app? Have you turned on internal debugging (
http://logging.apache.org/log4net/release/faq.html#internalDebug) or are
you even having problems getting that working? Can you give more detail about
what you have been trying?
Kevin Parkinson
On 7/30/07, John M. Muirhead <Jo...@trinsys.com>
wrote:
Hello Everyone,
I am still having problems using log4net on IIS 6.0 on windows server
2003. I gave the Network Service User write permissions, however the
logging still does not work, does anyone have a fix for this?
Regards,
John
--
Kevin Parkinson
Musician / Software Developer
Edmonton Alberta Canada