On 2008-03-08, Rainer Gerhards <[EMAIL PROTECTED]> wrote:
> Just to facilitate things: this is what I am thinking about:
>
> http://www.rsyslog.com/doc-imfile.html
>
> It can monitor all application log files natively. Did I understand your need
> right?
>
Seems like "imfile" could be trivially implemented trough:
while sleep $InputFilePollInterval ; do
logtail $InputFileName $InputFileStateFile | \
logger -t $InputFileTag -p
$InputFileFacility.$InputFileSeverity
done
http://debian.stro.at/bzr-test/logtail/
Or for realtime monitoring:
tail --follow=name --retry $InputFileName | \
logger -t $InputFileTag -p $InputFileFacility.$InputFileSeverity
IMHO rsyslogd might be trying to do too much internally. When will it start
reading mail ? That might not sound too far fetched.. :-)
"Every program attempts to expand until it can read mail. Those programs
which cannot so expand are replaced by ones which can." -- jwz
-jf
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog