c# 4.0 - Lo4net in a Windows service -


i have c# solution contains 3 services , number of projects. added class log4net calls configuration details sql table. using same class logging in entire project.

the logging working fine when debug through code, when deploy in server , while works using service, logging not working properly. have 3 services , logging depends on service start first. if start service 1 first, logs details service's classes, , doesn't log other classes.

i tried add idisposable in logger class , destroy each time, not getting expected results.

add assemble(classname) in appender:

<appender name="urlappender3" type="omidlogappender.urllogappender, omidlogappender"> 

that omidlogappender log4net class log web service !


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -