You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by sanjeev <sa...@mediaus.com> on 2013/08/24 09:21:09 UTC

Log4net for windows service

hi

I have a C# solution which contains 3 services and number of projects. I
added a class for Log4net whcih calls configuration details from a SQL
Table. I am using same class for logging in my entire project. 

The logging is working fine when i debug through code. but when i deploy it
in server and works using service, the logging is not working properly. I
have 3 services and logging depends on which service i start first. If i
started service 1 first, it logs only details from that service classes. and
it doesnt log other classes.

I tried to add Idisposable in the logger class and to destroy it each time.
but i am not getting expected result. Please help



--
View this message in context: http://apache-logging.6191.n7.nabble.com/Log4net-for-windows-service-tp40115.html
Sent from the Log4net - Users mailing list archive at Nabble.com.