Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 524 invoked from network); 28 Mar 2006 21:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 21:40:51 -0000 Received: (qmail 78207 invoked by uid 500); 28 Mar 2006 21:40:50 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 78162 invoked by uid 500); 28 Mar 2006 21:40:49 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 78151 invoked by uid 99); 28 Mar 2006 21:40:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 13:40:49 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.167] (HELO web31814.mail.mud.yahoo.com) (68.142.206.167) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Mar 2006 13:40:48 -0800 Received: (qmail 35092 invoked by uid 60001); 28 Mar 2006 21:40:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ONoLr4gvVSbC/vP/TIKc6+lqM1sqrYSykZWre52+LxkQzLIendU9ntE1XKGcIWVZGGEo99VdueBOv1yABDvWWkA7pPkJyrmvXuFZCciZpTc1y2F1+id3dcjq3dBO/2UNj3xiloI2ov4RZatQ8QH0u6pSYJr/vkemlelZNolEDgM= ; Message-ID: <20060328214027.35090.qmail@web31814.mail.mud.yahoo.com> Received: from [63.251.54.187] by web31814.mail.mud.yahoo.com via HTTP; Tue, 28 Mar 2006 13:40:27 PST Date: Tue, 28 Mar 2006 13:40:27 -0800 (PST) From: Ken Chu Subject: Re: newbie question about configuration To: devinsmith@gmail.com, Log4NET User In-Reply-To: <4c6366fa0603250052y23d1b13av69f36d1fc28bdaae@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 wrote: > On 3/24/06, Ken Chu 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 >