This project has moved. For the latest updates, please go here.

Multiple log entries send over same connection lost.


The simple fix would be to change the Sample Client Configuration from
<target name="TcpOutlet" xsi:type="NLogViewer" address="tcp://localhost:4505"/>
<target name="TcpOutlet" xsi:type="NLogViewer" address="tcp://localhost:4505" KeepConnection="false" />

Another option would be to split up the log entries and parse them 1 at a time. The patches for this approach are attached.

file attachments


DewJunkie wrote May 7, 2016 at 6:03 PM

2nd patch file

wrote May 13, 2016 at 9:41 PM

DewJunkie wrote May 13, 2016 at 9:41 PM

Updated tcpreceiver patch.
I am not sure if I am/was missing something in the Start method. The while loop was running as long as the receiver was listening. Which was causing high cpu usage.
Seems to be working much better now.