views:

185

answers:

1

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.

What may be the problem? Is there any fix for this?

A: 

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

PerlDev