Quantcast
Channel: Log2Console - A Generic Log Viewer (for Log4Net, NLog...)
Viewing all articles
Browse latest Browse all 66

Commented Unassigned: Add NLog example to the Receivers [16289]

$
0
0
After a lot of searching I found out that Log2Console needs the Chainsaw Target in NLog, and the TCP/IP one that the receivers dialog shows doesn't work (atleast for ASP.NET apps).

Could you add an NLog example to the UDP receiver example, below the log4net example?

e.g.

```
<target name="n1" xsi:type="Chainsaw" address="udp://127.0.0.1:7071" />
<logger name="*" minlevel="Info" writeTo="n1" />
```

Also make sure people know it has to be an IP address, as localhost won't work.
Comments: ** Comment from web user: WouterSF **

For me it also works fine with the following target:
```
<target name="udp" xsi:type="Network" address="udp4://127.0.0.1:7071"
layout="${log4jxmlevent}" />
```
What does not work for log2console 1.6 and higher is the exceptions. They won't log into the Exceptions tab.


Viewing all articles
Browse latest Browse all 66

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>