RE: Logging Perf Hit

2004-11-17 Thread Dru Sellers
n write this down? Or can we add it to the 1.1 folder I didn't even think to look in the 1.0 folder.   Dru From: Denis, Rich [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 4:39 PMTo: Log4NET UserSubject: RE: Logging Perf Hit As for calling Configure, I'm not sure where t

RE: Logging Perf Hit

2004-11-16 Thread Denis, Rich
l for me.   Rich Denis perotsystems™\ From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:44 AM To: Log4NET User Subject: RE: Logging Perf Hit   You should make your loggers static, one for each class. In VB that would be Shared. That way they onl

RE: Logging Perf Hit

2004-11-16 Thread Nicko Cadell
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

Re: Logging Perf Hit

2004-11-16 Thread DWilliams
I created the log object as an Application object in the Appilication_StartUp routine.  That way I only have one instance for the application. "Dru Sellers" <[EMAIL PROTECTED]> 11/16/2004 11:39 AM Please respond to "Log4NET User" To "'Log4NET User'" cc Subject Logging Perf H

Re: Logging Perf Hit

2004-11-16 Thread Eric Means
Call Configure in the Application's Start event (in global.asax) and set an application-wide variable. Then within each page you can set a local variable to the app-wide variable, and within each method just use the page-local variable. On Tue, 16 Nov 2004 11:43:54 -0500, Benjamin Peikes <[EMAIL

RE: Logging Perf Hit

2004-11-16 Thread Benjamin Peikes
Title: Message You should make your loggers static, one for each class. In VB that would be Shared. That way they only get created once for each class.   As for calling Configure, I'm not sure where that goes in an ASP.Net application.   Benjamin Peikes Gargoyle Strategic Investments 201-22