I'm using log4net logging in my software that consists of several applications. I want to have one common library for this. I created a library and put it in the conficuration file. In AssemblyInfo.cs placed attribute: log4net.Config.XmlConfigurator(ConfigFile = @"c:\logging.xml", Watch = true)
It work for windows service, but in dosn't work for asp.net application. It work in asp.net if delete attribute from common library and put in into global.asax. However, this leads to that section of the log4net configuration must be made in the windows service.
There is also a business process which causes our library through the remouting. I want the logging was carried out there too.
Is there way around this?