[syslog-ng] Determining when logging is quiescent
ben.tisdall at photobox.com
Sat Nov 6 23:26:17 CET 2010
Thanks very much Matthew, I'll get back into the manual (which is very
fine btw - quality documentation was the major factor in going with
syslog-ng over rsyslog).
On Sat, Nov 6, 2010 at 10:04 PM, Matthew Hall <mhall at mhcomputing.net> wrote:
> In theory you could enable file MARK generation in syslog-ng. This will cause
> --MARK-- or similar such text to be written to the log destinations on which
> it is enabled every X minutes. Then you can look for consecutive MARK which
> are free of intervening messages.
> It's all in the manual. Have a look and reply back if you need more info.
> The only catch could be if MARKs only work on network logging and not local
> logging. At which point you could check the mtimes on the file for the
> longest amount of time expected between messages.
> Good Luck,
> On Saturday, November 06, 2010 14:27:28 Ben Tisdall wrote:
>> Hi all,
>> I'm setting up logging from ec2 instances that will get destroyed when
>> they've finished their work. Most of the log sources use the file
>> Assuming the application has itself finished writing logs, is there
>> any way of determining, from the client end, when syslog-ng has
>> finished reading all of them?
>> Ben Tisdall
>> _____ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> http://www.balabit.com/support/documentation/?product=syslog-ng FAQ:
> Matthew Hall
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
More information about the syslog-ng