Re: ASP.NET, AdoNetAppender and deferred property execution

2008-08-22 Thread Jerry Shea
08/8/12 Ron Grabowski <[EMAIL PROTECTED]> > Have you tried setting the Fix property to All or Partial? > > > http://logging.apache.org/log4net/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Fix.html > > - Original Message > From: Jerry Shea <[EMAIL PROTECTE

Re: ASP.NET, AdoNetAppender and deferred property execution

2008-08-10 Thread Jerry Shea
Hi Everyone, Apologies for sending multiple messages about this, but I guess my initial question was buried at the bottom of email#1. Does anyone have a idea as to how I can force properties to be resolved at log time rather than flush time? Thx, Jerry 2008/8/7 Jerry Shea <[EMAIL PROTEC

Re: ASP.NET, AdoNetAppender and deferred property execution

2008-08-07 Thread Jerry Shea
Yes I have confirmed that this is the case - when the AdoNetAppender's buffer flushes then and only then are the properties evaluated.

ASP.NET, AdoNetAppender and deferred property execution

2008-08-07 Thread Jerry Shea
Hi Everyone, I am seeing a problem here which I believe is due to deferred property execution. I have a ClientLogger which gets a property value from the HttpSession as below. public class ClientLogger { public override string ToString() { string retval = "-"; i

Re: Throttling/Rollup feature in EventLogAppender

2008-05-02 Thread Jerry Shea
Hi Pranav, James Wilkinson and I worked up some code to do this. See http://markmail.org/message/pahnqti7yq4xoz7m I am currently the bottleneck on this having not responded to James' last message :(. I'll get moving and hopefully we can contribute this code to the community soon. Cheers, Jerry

Re: Including PID in log file name -- Locking Models & ASP.Net

2007-10-10 Thread Jerry Shea
Has anyone worked out a way to use a RollingFileAppender with PIDs in filenames? What I would like to do is to ensure we never have more than 10MB of logs, but also to have the PID in the filename to get around ASP.NETlocking issues, and to allow multiple websites to be installed from the same dire

Re: log4net duplicate filtering

2007-08-09 Thread Jerry Shea
That is a really useful bit of code - thanks for posting James. I've done a bit of digging into using a filter to do this, as described in this post. I tried writing a DuplicateFilter which keeps track of the last message sent through it

nothing appearing on ConsoleAppender in web application

2004-12-12 Thread Jerry Shea
Hi, I have setup log4net in an ASP.NET application. Logging works perfectly if I use a RollingFileAppender but if I use the ConsoleAppender, output does not appear in the console when running in the debugger (VS.NET 2003). I am configuring log4net with: [assembly: log4net.Config.DOMConfigurat