Requested registry access is not allowed.

NLog.NLogRuntimeException: Exception occurred in NLog ---> NLog.NLogRuntimeException: Target EventLog Target[eventlog] failed to initialize. ---> System.Security.SecurityException: Requested regist...

Id #6952 | Release: None | Updated: Today at 7:58 PM by keroger2k | Created: Today at 7:58 PM by keroger2k

Create layout renderer assembly-version

It would be useful to have a ${assembly-version} layout renderer for use with headers, so you could log, for example: header="Application Startup. Version ${assembly-version}, PID ${processid}"

Id #6932 | Release: None | Updated: May 7 at 9:14 PM by gregmac | Created: May 7 at 9:14 PM by gregmac

Database Target with BufferingWrapper

I have a problem using Database target with BufferingWrapper. The BufferingWrapper duplicates all the values.

Id #6905 | Release: None | Updated: Apr 23 at 1:11 PM by kashbash | Created: Apr 23 at 12:17 PM by kashbash

System.InvalidOperationException with multiple threads

I am consistently getting the following stack trace on my integration server when I am running my reg tests that run multiple threads... Is the configuration thread safe? Resolving Apption.HPCManag...

Id #6887 | Release: None | Updated: Apr 10 at 2:47 PM by CadErik | Created: Apr 10 at 2:47 PM by CadErik

Treat environment variable value as Layout

In order to generically assign a log directory for various environments, eg development, production (server) etc I had a need for the following: 1. set environment variable NLOG_BASE=D:\CommonLogs...

Id #6873 | Release: None | Updated: Apr 5 at 4:51 AM by Jiff26 | Created: Apr 5 at 4:36 AM by Jiff26

Mail Target fails silently when subject contains <newline>

I've configured the layout of my mail target to put the exception message property in the subject of the email. At least one exception from the .NET Framework has a newline tacked on the end, thus ...

Id #6872 | Release: None | Updated: Apr 5 at 4:20 AM by Jiff26 | Created: Apr 5 at 4:20 AM by Jiff26

FileTarget rotation is not multiprocess-safe

I found (unfortunately in the hardest way possible - by receiving a useless set of logs from a production issue) that FileTarget rotation is not multiprocess-safe - there may be races between one p...

Id #6833 | Release: None | Updated: Mar 14 at 1:10 PM by jkff | Created: Mar 14 at 1:10 PM by jkff

Debugger Target Does Not Work on WP7

No output occurs. Apparently, Debugger.Log method is non-functional on Windows Phone 7.0 at least. Consider the attached custom target which uses Debug.WriteLine and works.

Id #6832 | Release: None | Updated: Mar 13 at 7:30 PM by Zaventh | Created: Mar 13 at 7:30 PM by Zaventh

UTF8 and BOM

When tou add encoding="utf-8" on a file target, encoding of the result file is a UTF-8 encoding but the preamble (Binary Object Mark) is not present at the start of the file then some tools that us...

Id #6831 | Release: None | Updated: Mar 13 at 9:52 AM by npellet | Created: Mar 13 at 8:48 AM by npellet

Support for Entity Framework connection strings

Hello. NLog does not currently seem to support Entity Framework connection strings: DatabaseTarget.InitializeTarget() throws an exception because it cannot create a DbProviderFactory from the EF p...

Id #6817 | Release: None | Updated: Mar 1 at 1:46 PM by ladenedge | Created: Mar 1 at 1:46 PM by ladenedge