The simple fix would be to change the Sample Client Configuration from
<target name="TcpOutlet" xsi:type="NLogViewer" address="tcp://localhost:4505"/>
to
<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.
Comments: ** Comment from web user: DewJunkie **
<target name="TcpOutlet" xsi:type="NLogViewer" address="tcp://localhost:4505"/>
to
<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.
Comments: ** Comment from web user: DewJunkie **
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.