Re: Problems using log4net with ASP.NET

2004-11-26 Thread Tom Willis
Are you calling DomConfigurator.Configure() anywhere? That's the only thing I can think of might be missing. On Fri, 26 Nov 2004 12:03:11 +0100, Marc Eggenberger <[EMAIL PROTECTED]> wrote: > > > Hi there ... > > > > I'm trying to use log4net with one of my asp.net applications. I used

Re: DOMConfigurator.Configure()

2004-11-17 Thread Tom Willis
sing log4net with NUnit. If you are using the NUnit > GUI, you have to set the ApplicationBase in the project editor so that the > config file can be found. > > > > > Tom Willis <[EMAIL PROTECTED]> > > 11/17/2004 03:19 PM > > Please respond to

Re: DOMConfigurator.Configure()

2004-11-17 Thread Tom Willis
he first use of log4net comes from the > assembly which has the DOMConfiguratorAttribute set on it. > > Also see the 'Configuration Attributes' section in the > log4net-1.2.0-beta8/doc/manual/introduction.html file. > > Cheers, > > Nicko > > > > >

DOMConfigurator.Configure()

2004-11-17 Thread Tom Willis
I bet this question gets asked a lot. But I'm not finding anything in the archives. It's probably cuz I suck. Anyway, If there any way to set log4net up so that you do NOT have to call DOMConfigurator.Configure() before the logging goodness stats happening? Or is this a pipe dream? I'm using

Re: Adding a new field to the layout

2004-11-09 Thread Tom Willis
I got this working this weekend. It's pretty slick. in your code. ... log4net.MDC.Set("AnotherVariable", AnotherVariableData); ... ILog l = LogManager.GetLogger("MyLogger"); l.Error(MyMessage,MyException); ... In your config ...