RE: TypeInitializationException was unhandled

2005-10-10 Thread depsi programmer
Thanks I am building a Windows Application using Microsoft Visual Basic 2005 Beta 2. In my app.config file I have put

Inability to use EventLogAppender with ASPNET

2005-10-10 Thread Matthew Brown
With log4net internal debugging turned on, an attempt to create an EventLogAppender for a web application is failing: [3616] log4net: XmlHierarchyConfigurator: Setting Property [Layout] to object [log4net.Layout.PatternLayout] [3616] log4net: XmlHierarchyConfigurator: Setting Property [LogName] t

Re: Capture Log4NET Internal Debugging

2005-10-10 Thread Ron Grabowski
Add this to your Web.Config: --- "Michael S. Collier" <[EMAIL PROTECTED]> wrote: > Is there a good way to capture the internal Log4NET debugging for a > web site > or web service? I would like the ability to capture the debugging so > that I > might better figure o

Capture Log4NET Internal Debugging

2005-10-10 Thread Michael S. Collier
Is there a good way to capture the internal Log4NET debugging for a web site or web service?  I would like the ability to capture the debugging so that I might better figure out why logging is not working.    For my app, logging is working great now, but I would like to capture the inter

RE: DefaultDomain / Repository Question

2005-10-10 Thread Nicko Cadell
Using the default domain is now the default behaviour. To get the behaviour you want you should not specify a DomainAttribute at all. Cheers, Nicko > -Original Message- > From: Mladen Mihajlovic [mailto:[EMAIL PROTECTED] > Sent: 10 October 2005 19:11 > To: log4net-user@logging.apache.org

DefaultDomain / Repository Question

2005-10-10 Thread Mladen Mihajlovic
Hi, What would be considered the equal of the following line in 1.2.9? [assembly: log4net.Config.Domain(UseDefaultDomain=true)] Thanks, Mladen

RE: Forcing flush before killing a process

2005-10-10 Thread Nicko Cadell
Call LogManger.Shutdown() that will flush all the appenders and close all the files cleanly. Nicko > -Original Message- > From: Thibaut Barrère [mailto:[EMAIL PROTECTED] > Sent: 10 October 2005 15:19 > To: Log4NET User > Subject: Forcing flush before killing a process > > Hi, > > is

Forcing flush before killing a process

2005-10-10 Thread Thibaut Barrère
Hi, is there some way to flush all the logs before killing the process ? I'm using Environment.Exit() for last chance application exit (when everything else has been tried). I'd like to record the fact that I had to kill the process. Is it doable ? regards Thibaut