[syslog-ng] Re: tailing real files

G.W. Haywood ged at jubileegroup.co.uk
Sun Apr 8 11:31:35 CEST 2007


Hi there,

On Sat, 7 Apr 2007 Balazs Scheidler wrote:

> source s_tail { file("/var/log/apache/access.log" follow_freq(1) flags(no-parse)); };
> ...
> * reads the access.log file (starting with the first line),
> * checks every 1 second to see if there are new records
> * notices when access.log gets renamed ...
> * remembers the last file position across restarts

Oh, cool!  Thanks!!

--

73,
Ged.


More information about the syslog-ng mailing list