There is an example ASP.NET web app in the log4net beta8 download at: examples\net\1.0\Tutorials\WebApp\cs\src
This shows how to set up log4net to load the logging configuration from an external file, WebApp.dll.log4net, using the assembly level configuration attribute in the Global.asax.cs. The WebForm1.aspx.cs page then requests a logger statically and caches this for the lifetime of the app. This means that there is no per-request performance hit. Cheers, Nicko > -----Original Message----- > From: Dru Sellers [mailto:[EMAIL PROTECTED] > Sent: 16 November 2004 16:39 > To: 'Log4NET User' > Subject: Logging Perf Hit > > In my ASP.Net pages I am doing this in about every method > > log4net.Config.DOMConfigurator.Configure(New > IO.FileInfo(file)) Dim log As log4net.ILog = > log4net.LogManager.GetLogger(GetType(Verify)) > > Do I need to do this all the time or is there a way to work > around this? > > Dru > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004 > > >