logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Chu <ken_c_...@yahoo.com>
Subject Re: newbie question about configuration
Date Tue, 28 Mar 2006 21:40:27 GMT
Hi Devin,

Thanks for the suggestion.  I had added Full Control permissions for "Everyone"
on the output directory, but that didn't help.

-Ken

--- Devin Smith <devinsmith@gmail.com> wrote:

> On 3/24/06, Ken Chu <ken_c_chu@yahoo.com> wrote:
> > Hi .Net developers,
> >
> > I've been trying to get the log4net 1.2.9 beta's WebApp example to work
> under
> > ASP.NET 2.0 without any luck (using C# in VS2005).  I don't get any log
> files
> > nor trace output when I go to http://myhost/WebAppCS/Trace.axd.  Here are
> the
> > things I've tried to do:
> >
> > - make sure the directory for the log file is writable
> > - setting the output log file with absolute path (c:\tmp\webapp-log.txt)
> > - change '\' to '\\' in the WebApp.dll.log4net file
> > - copy the content of WebApp.dll.log4net into Web.config
> > - turn on log4net internal debug flag (where does this output to?)
> >
> > Could someone tell me what I'm missing?  Why isn't the WebForm1.asp page
> > producing a log file or trace output?  Is this because I converted this
> .NET
> > 1.0 project to .NET 2.0?
> >
> 
> Hi Ken,
> 
> You didn't tell us which user you gave write access to.
> Make sure that the directory you are writing your log files to has
> write access by both ASP.NET user and the NETWORK SERVICE user. I
> always forget which user w3wp runs under but this user needs the write
> access.
> 
> Thanks,
> 
> Devin
> 


Mime
View raw message