[syslog-ng] My server that listens to Syslog-ng
Diluka Moratuwage
diluka at wso2.com
Sun Aug 12 06:24:09 CEST 2007
Hi,
I wrote a program which listens to a port (5001), which the
syslog-ng was
configured to write to. Everything works fine, but sometimes I get msgs
like,
<43>Aug 11 19:39:03 diluka-laptop syslog-ng[5084]: Connection broken;
time_reopen='10'
<43>Aug 11 19:39:13 diluka-laptop syslog-ng[5084]: EOF occurred while
idle; fd='20'
Can anybody pls let me know what my mistake would be ??? Following
is the code snippet
shows how I read from the syslog-ng. I think there is a problem, in the
way I read from the
syslog-ng. Pls correct me, if I have missed any points. I really
appreciate if you can provide
me some help in getting through the problem.
Thanks,
Diluka.
More information about the syslog-ng
mailing list