How does one troubleshoot log4net when it stops logging

后端 未结 3 846
悲&欢浪女
悲&欢浪女 2020-12-24 08:11

It seems that Log4Net silently shuts down for reasons that are not obvious, and I\'m at a loss how to troubleshoot it. My hunch is that a particular appender is failing on

3条回答
  •  一向
    一向 (楼主)
    2020-12-24 08:45

    I think there's a config value you can put in the appSettings section of your app.config/web.config to turn on internal debug statements in log4net:

    
        
    
    

    This will give you some insight into any errors that log4net might be swallowing.

提交回复
热议问题