Put your log4net config in the web.config file.
Gulati, Jay, GCM wrote:
Thanks for you reply but not sure how to do it from asp application. I
mean how to configure in asp app; create type lib (tlb - regasm) for
log4net and then use it in asp app?
-----Original Message-----
From: Danny Gorton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 15, 2007 10:55 AM
To: Log4NET User
Subject: Re: Reading config in business layer
Jay,
It should read the configuration file from the application that hosts
your class assembly (DLL). Assemblies do not load their own
configuration. Danny
-----------------------------------------
*******************************************************************
*
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any part of
it.
*******************************************************************
*