[syslog-ng] File source and flow-control question

Behal, Pavel pavel.behal at hp.com
Sun Dec 2 14:05:18 CET 2007


Dear Bazsi,

Attached you can find my configuration file, I used for extensive testing.

I have used it as file-incremental transfer agent. Please, ignore Czech comments.

Best Regards,

Pavel


-----Original Message-----
Date: Sat, 01 Dec 2007 15:42:19 +0100
From: Balazs Scheidler <bazsi at balabit.hu>
Subject: Re: [syslog-ng] File source and flow-control question
To: Syslog-ng users' and developers' mailing list
        <syslog-ng at lists.balabit.hu>
Message-ID: <1196520139.6678.0.camel at bzorp.balabit>
Content-Type: text/plain


On Fri, 2007-11-30 at 06:44 +0000, Behal, Pavel wrote:
> Dear List Members,
>
> I have found syslog-ng really valuable part of operating system,
> thanks to all. I would like to ask a flow-control related question:
>
> I have tried to use it (2.0.5) also as a collector of events from some
> log text-files using the file source with follow-freq set.
> It is working fine. But I have realized, that in case of network
> problem, the syslog-ng process never stops reading the data.
> (Yes, this is normal.) It continuously follows the incremented data
> and everything above volume the of internal line buffer get lost. I
> hoped, this can be changed using the flow-control flag, but I think
> the flow-control flag does not affect the file source and it never
> blocks reading.
>
> Is there any way, how to setup the syslog-ng to stop reading the
> followed source file when destination is unavailable and continue from
> last event send after reconnect? Thank you.
>

Hmm.. if flow-control is enabled, syslog-ng should stop reading data from all sources that feed data into the flow-controlled path.

Can you post your configuration file?

--
Bazsi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng-tst.conf
Type: application/octet-stream
Size: 2188 bytes
Desc: syslog-ng-tst.conf
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20071202/864f2e75/attachment.obj 


More information about the syslog-ng mailing list