Re: NUnit, log4net and the log tab

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
Hi Jason,

There are two possibilities here.

Either log4net is not seeing your settings, or NUnit is overriding them. The
latter would be a bug. The former could also be a bug, or an error on your
part.

Can you put something into the log4net config, which will prove that log4net
is
actually seeing your settings?

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of West, Jason (Education Cabinet)
> Sent: Monday, January 14, 2008 11:37 PM
> To: [email protected]
> Subject: [Nunit-users] NUnit, log4net and the log tab
> 
> I'm having something strange going on. 
> Every log entry is being placed on the log tab regardless of 
> the settings in my log4net.config file.
> 
> I use the assembly setting
> [assembly: log4net.Config.XmlConfigurator(ConfigFile = 
> "log4net.config", Watch = true)]
> 
> and I have root set to fatal. The other named loggers are set 
> as I like warn or higher. However, Loggers set to say warn 
> are still generating info entries into that tab.
> 
> The log4net.config is being built and placed in the same 
> directory as the .dll under test.
> 
> Visual Studio 2005
> log4net version is 1.2.10.0
> Nunit version is 2.4.6.0
> 
> Any ideas?
> 
> TIA
> 
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about 
> anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
> et/marketplace
> _______________________________________________
> Nunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-users
> 



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.