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" <log4net-user@logging.apache.org>

To
"'Log4NET User'" <log4net-user@logging.apache.org>
cc
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



IMPORTANT: E-mails from this company normally contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. If you are not the intended recipient please contact the sender and delete all copies. All e-mails sent to or from Strohl Systems are to be used for our business purposes only. E-mails sent from or to the company are subject to review by the company.

Reply via email to