Log4Net stops logging and have to restart the windows service

只愿长相守 提交于 2019-12-11 03:14:21

问题


We have a windows service using Quartz.net scheduler and we are using log4net for logging.

During the service execution our database went offline and after it came bacck online the log4neet stopped logging. we have to re-start the service again for the logging to start again.

we can see that the service is running as other tables are getting updated but nothing is getting logged.

is there something we can set or a way to get log4net continue logging after database comes online??

来源:https://stackoverflow.com/questions/26620785/log4net-stops-logging-and-have-to-restart-the-windows-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!