Due to the way in which COM+ components are hosted it can be difficult to configure log4net to locate a config file. If you can enable internal log4net debug you should get a log of what log4net is trying to do. http://logging.apache.org/log4net/release/faq.html#internalDebug Nicko
> -----Original Message----- > From: Babu A [mailto:[EMAIL PROTECTED] > Sent: 30 June 2005 06:36 > To: [email protected] > Subject: Problem in Logging When calling Log4Net appenders > from COM+ (ServicedComponent) > > Hello All, > > Iam facing a problem in Logging while using Log4Net. > > Im writing a middle tier ServicedComponent. The component is > hosted in Component Service Explorer (CSE). In this > component, im logging the errors using Log4Net Appenders. > > But this is not working. Its not logging the messages in > Database / Event Logger. Its not showing any error message also. > > Earlier i faced the same problem for ASP.Net Projects also. > But when I change the "BufferSize" value to 1, it starts > working. But in Serviced components, it is not working. > > Anybody come across this problem ? Can I get the solution ? > > Thanx & Regards > Babu > > > > ___________________________________________________________ > How much free photo storage do you get? Store your holiday > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com >
