MethodAccessException when calling LogManager.GetCurrentClassLogger()

I'm getting an exception when I run a unit test on a controller in web project (ASP.NET web api). The exception is thrown when LogManager.GetCurrentClassLogger() of the controller is executed/ Syst...

Id #7922 | Release: None | Updated: Nov 26 at 3:41 AM by borlip | Created: Nov 26 at 3:41 AM by borlip

LoggingRule.ToString() error

The current ToString() overload for LoggingRule objects fails to show the configured log levels unless LogLevel.Trace is enabled. When Trace is not enabled, ToString() makes it appear that all of t...

Id #7894 | Release: None | Updated: Sep 27 at 2:42 AM by gloder | Created: Sep 27 at 2:42 AM by gloder

Unable to find configuration file in VS extension

Hello, I'm working on a Visual Studio extension. NLog picks up nlog.config only from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE because that's where devenv.exe (Visual Studio e...

Id #7840 | Release: None | Updated: Jun 19 at 7:56 PM by AmadeusAmadeus | Created: Jun 19 at 7:56 PM by AmadeusAmadeus

Possible memory leak in NLOG

Hello, while performing a memory leak profiling session on an existing app, I've discovered that NLog seems to leak on the NLog.Internal.Fakables.AppDomainWrapper, I've created a simple projects t...

Id #7760 | Release: None | Updated: Feb 12 at 10:46 AM by advapi | Created: Feb 12 at 10:46 AM by advapi

LogConfiguration from Stream

Hello, for my application I would prefer loading the NLog configuration from Stream (as I would likely embed it into my application instead of laying it into the appliaction root folder). Would b...

Id #7711 | Release: None | Updated: Dec 14, 2013 at 2:37 PM by Razer | Created: Dec 14, 2013 at 2:37 PM by Razer

Using LogReceiverService with targets async="true" floods the receiver service

Using version 2.1 of Nlog. I have the following config in my app. Using Fiddler I noticed that I had 14 calls to http://vision.local.com/webservice/nlogreceiver.svc/binarylogger per second. If I se...

Id #7667 | Release: None | Updated: Nov 11, 2013 at 4:29 PM by mdutra | Created: Nov 11, 2013 at 4:29 PM by mdutra

[v2.0.0.2000] FileTarget.AutoFlush does not work

NLog v2.0.0.2000 Even if FileTarget.AutoFlush is set to true log messages are not flushed. This issue has been discuses here as well: https://groups.google.com/forum/#!msg/nlog-users/RAe_GTcC3LQ/L...

Id #7620 | Release: None | Updated: Aug 22 at 1:58 PM by richol | Created: Oct 3, 2013 at 11:45 AM by JechoJekov

File target doesn't duplicate header in archived files

Copied from here (it seems nobody reviewed this item in GitHub for last 6 days): https://github.com/NLog/NLog/issues/245

Id #7542 | Release: None | Updated: Jul 29, 2013 at 12:17 PM by johnnyjob | Created: Jul 29, 2013 at 12:17 PM by johnnyjob

File target ignores Compressed option specified in fileAttributes

Copied from here (it seems nobody reviewed this item in GitHub for last 6 days): https://github.com/NLog/NLog/issues/244

Id #7541 | Release: None | Updated: Apr 7 at 10:16 AM by tomari | Created: Jul 29, 2013 at 12:16 PM by johnnyjob

Need a way to detect if current logger is console.

Need a way to detect if the current logger (gotten via a call to LogManager.GetCurrentClassLogger()) has a target that wants to output to a console. That way, apps that don't have a console by def...

Id #7539 | Release: None | Updated: Jul 27, 2013 at 12:06 AM by clawton | Created: Jul 27, 2013 at 12:06 AM by clawton