12 Aug
2007
12 Aug
'07
5:24 a.m.
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.