<div dir="ltr"><br clear="all"><div><div>I have configured a destination in syslog to a tcp port on localhost</div><div><br></div><div><div>options { long_hostnames(off); sync(0); perm(0640); stats(3600); };</div></div><div><br></div><div><div>source src { internal(); unix-dgram(&quot;/dev/log&quot;); udp(); };</div></div><div><br></div><div>destination mgagent{ tcp(&quot;127.0.0.1&quot; port(5009) template(&quot;$TAG $HOST $PROGRAM $MSGONLY\n&quot;)); };</div><div><br></div><div>I have a tcp server n the localhost ,receiving logs on this port and it does further processing .</div><div><br></div><div>Whenever syslog-ng is reloaded or restarted and te tcp server is running , a flood of the logs is sent on this tcp port ( which is handled by the tcp server) , but this is not wanted. The logs which were already sent before restart is sent repeatedly . Is there any way to stop or prevent this .</div><div><br></div><div>syslog version is syslog-ng 2.0.9 on SLES 11 SP3</div><div><br></div><div>-Thanks</div></div>
</div>