Last updated: 2006-09-18
This website is based on NLog v1.0.
Click here to view the documentation
for other versions.
| How to troubleshoot logging problemsIf you have trouble getting NLog to work properly you may want to enable some debugging output to see what may be going wrong. This document describes the available internal debugging features of NLog. Enabling internal logging
Enabling internal logging using the environment variablesEnabling internal logging in the interactive processesThis case is easy. Just open the command prompt (
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\MyApp>set NLOG_INTERNAL_LOG_FILE=c:\temp\mylog.txt
C:\MyApp>set NLOG_INTERNAL_LOG_LEVEL=Debug
C:\MyApp>myapp.exe
Enabling internal logging in the service processesTO BE WRITTEN Enabling internal logging programmaticallyTO BE WRITTEN Last updated: 2006-07-10 11:32:55 | |||||||
| Copyright © 2004-2006 by Jarosław Kowalski. |