NLog not working in release mode

前端 未结 6 1159
孤城傲影
孤城傲影 2021-02-19 09:35

I am using NLog to log the exceptions in my asp.net mvc (C#) application.

NLog is not working in release mode. The same is working when running in debug mode.

Wh

6条回答
  •  不要未来只要你来
    2021-02-19 10:05

    set up environment variables:NLOG_INTERNAL_LOG_LEVEL and NLOG_INTERNAL_LOG_FILE, rerun your release build then check the log file see what's wrong

提交回复
热议问题