Hello: I posted earlier my first issue... here is me second :).
I have a multi-threaded C# application, developed with Visual Studio 2013, based on .Net 4.5.
I got NLog using Nuget. I currently have the following installed: NLog,Version 4.2.0.
my NLog Config file looks like this:
<target name="asyncWrapper" xsi:Type="AsyncWrapper" queueLimit="20000">
<target name="LogFile"
xsi:type="File"
fileName="C:\QRT\Logs\QRTLog-${shortdate}.log"
layout="${date:format=yyyy-MM-dd HH\:mm\:ss.fff}|${level}|${threadid}|${threadname}|${event-properties:item=FromID}|${message}${exception:format=tostring} "
concurrentWrites="true" />
</target>
<rules>
<logger name="*" minlevel="Trace" writeTo="ColoredConsole" />
<logger name="*" minlevel="Trace" writeTo="LogFile" />
</rules>
Lots of NLog messages are missing. I know this because I implemented my own logger which is called ever time I call Nlog.
Enabling NLog internal trace, I see logs of Async Queue Full... but ONLY ON MY SERVER (Windows 2008 Server)... not when running on my Windows 7 machine (.NET 4.5.2 installed)
Can someone help my understand why NLog has a queue which fills up and is not flushed? There are tons and tons of these messages in the internal log file.
Thanks
-Ed