The appender that I'm using is a "LogFileAppender". The User Account is a member of the "Guest" and "IIS_WPG" group.
The odd thing is when I request the page the first few times, the web app logs the request via Log4Net to the log file. But when I request the page again a couple times in a row, it does not log the request in the log file. I know the http request is getting through because the ASP.NET code behind is logging data via ADO.NET into a database. The database submission is getting through but the log4Net does not log anything after numerous requests. It only logs sporadically. To pinpoint the issue on Win2003 (II 6), I have created a real simple ASP.NET page that has a Cookie Count that displays both on a page and in the log file. I use the same logging as my other web app. The logging works fine with the Cooke Count web application. Both web apps are using the same account access and pool (Application Pool is set to Local System). I have yet to find the issue. --- Ron Grabowski <[EMAIL PROTECTED]> wrote: > What appenders are you using? If you're using an > appender that allows > for a "bufferSize" parameter, have you tried setting > that to 1, 0, > and/or -1? > > Does log4net's internal log contain anything > different when running > under IIS 6.0? > > Have you verified that the account log4net uses to > log has the same > level of permission on both servers? > > --- Peter Landis <[EMAIL PROTECTED]> wrote: > > I have recently added logging via log4net to my > > asp.net application running on a Windows 2003 > Server > > platform (IIS 5.0). Log4net has been working > > flawlessly until recently when I have been > migrating > > my application over to Windows 2003 Server on IIS > 6.0. > > Log4Net is only logging the first requests and > also > > sporadically. It seems as if something is caching > the > > log request. Has anyone experience similar issues > and > > if so what suggestions can you provide me? > > > > > > > > Discover Yahoo! > > Find restaurants, movies, travel and more fun for > the weekend. Check > > it out! > > http://discover.yahoo.com/weekend.html > > > > > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
