开发者

NLog not writing to the EventLog

开发者 https://www.devze.com 2023-01-21 23:41 出处:网络
I\'m using NLog to record my logging, everything is working fine, but now I have installed the application on to a WebService in IIS 6, it i开发者_运维问答s not logging to the EventLog, all other logs

I'm using NLog to record my logging, everything is working fine, but now I have installed the application on to a WebService in IIS 6, it i开发者_运维问答s not logging to the EventLog, all other logs are working okay.

What do I need to configure to get this working on the Server?


Do you have permissions to access the event log? You can try enabling logging for NLog itself to see where it's failing. Have a look at Logging is not working - how to troubleshoot it? for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消