[analog-help] Merging log files
Aengus
analog07 at eircom.net
Tue May 1 14:07:03 PDT 2007
Mick Burrell <mick at midtowncottages.co.uk> wrote:
> I have a site on a server which produces log files in what seems to
> be plain text (type .log) and compressed (type .gz). Analog handles
> these just fine but the server only keeps them for three weeks. I'd
> like to be able to download these on a weekly basis and merge the
> files to produce a monthly (or longer period) report. I realise I
> can't just duplicate the files or I'd get repeat entries.
You don't need to merge the logfiles - Analog can read multiple
logfiles.
The simplest solution is add the "historical" files to a zip file, and
just run Analog against this zip file. The rather more complex approach
to creating progressive logs is to use cache files, but unless your log
files are very large, it may not be worth the effort.
http://analog.cx/docs/cache.html
Aengus
More information about the analog-help
mailing list