This project has moved and is read-only. For the latest updates, please go here.

Using this product with NLog

Mar 27 at 10:08 AM
Hi all,,,..
Im struggeling a bit With the setup of thi sproduct. It seems that this Viewer is exactly what I'm looking for but not able to get any loggings from my Applications.
I have a simple config file that now have two targets. It looks like this:
    <target xsi:type="File" name="f" fileName="C:\ServiceLoggs\${shortdate}.log" layout="${message}" />
    <target xsi:type="NLogViewer" name="viewer" address="upd://" />

    <logger name="*" minlevel="trace" writeTo="f" />
    <logger name="*" minlevel="trace" writeTo="viewer" />
When running my app, I get all Messages in the log file, but nothing in Sentinel. My firewall settings was auto configured by Sentinel. I have checked the settings added, both a TCP and an UDP was added and both rules had "Allow all". Looks fine to me. Allso I have tryed simply to deactivate the firewall. Still no postings. A little help here :-)
Mar 29 at 9:26 PM
The most obvious issue is your spelling of udp....

Assuming that was just a typo here, the other thing to try is to ensure that IPv6 isn't being used, so use udp4 if you're on a newer version of nlog.
Apr 20 at 10:12 AM
Edited Apr 20 at 10:16 AM
If its a .NET Core application you are out of luck. NLogViewer are not supported.

Add throwExceptions="true" to your config file and you will get what errors are generated from the config file.

like this
<nlog xmlns="" xmlns:xsi="" throwExceptions="true" autoReload="true" internalLogLevel="Warn" internalLogFile="${var:configDir}\internal-nlog.txt"> 
PS : yarseyah, time to move to git hub or othe place? ;).. before October/december :)