problem with rolling by date behavior of RollingFileAppender

2004-12-14 Thread Robert Freas
I am using the RollingFileAppender and have configured it to roll by date without specifying a DatePattern parameter. When I did that, it would log properly from 12:00AM midnight to 11:59AM, but the moment it hit 12:00PM noon, it would roll over on top of itself and start rewriting in the same

Route LoggingEvent object back into log4net

2004-12-14 Thread Simon Wallis
Hi, I'm writing a web service that takes a LoggingEvent object as a parameter (sent via a custom appender that makes calls to this web service). I would like the web service to take these events and route them back into log4net. Thus, log4net would be used by the web service to do all the actual

onlyFixPartialEventData - only need Logger Name

2004-12-14 Thread Simon Wallis
The log4net docs say we should use onlyFixPartialEventData=true because the location information is "extremely" slow to generate. I can live without the class name, method name, line number, but the logger name is necessary. Otherwise how do you know where in your code base the event came from?

SecurityException using RemotingAppender

2004-12-14 Thread Simon Wallis
Hi, I created a log4net.snk file using sn.exe, but I'm having trouble in Release mode. Debug works fine, and if I use AssemblyKeyFile("") in AssemblyInfo.cs instead of putting the path to the .snk file in the parameters, then Release mode also works fine. So I think something is messed up with m

Viewing log4net XML documentation

2004-12-14 Thread [EMAIL PROTECTED]
How is one supposed to view the XML documentation for log4net that is generated by Visual Studio .NET (2003)? The VS command Tools|Build Comment Web Pages doesn't process many of the tags (e.g., , ) that are in the C# source. I'd expected to find the answer in the FAQ but didn't. Some of the us

Viewing log4net XML documentation

2004-12-14 Thread [EMAIL PROTECTED]
How is one supposed to view the XML documentation for log4net that is generated by Visual Studio .NET (2003)? The VS command Tools|Build Comment Web Pages doesn't process many of the tags (e.g., , ) that are in the C# source. I'd expected to find the answer in the FAQ but didn't. Some of the us

RE: Log an Exception

2004-12-14 Thread Collier, Mike
Yes, you are correct. I looked at my code again and realized I didn't have an a exception that would have stack trace information. Now that I have the stack trace information, is there a way to break it out into a separate field (other than the message field)? Or, is the exception information al

Getting the exception in a filter

2004-12-14 Thread Bill.Martin
I need to be able to ignore specific exceptions in log4net from within the config file (specifically, the ThreadAbortException). I can't see any way of doing this with the existing functionality, so was going to write a custom filter to do it. It would appear, however, that I can't get the Except

Re: Log an Exception

2004-12-14 Thread Ron Grabowski
%m baiscally calls ToString() on the exception. Are you sure you exception contains stack information. --- "Collier, Mike" <[EMAIL PROTECTED]> wrote: > I apologize if you get this message twice. I originally sent it to > the > old Sourceforge.net list before I realized it was closed. > > --