[analog-help] Merging log files

Jackie Meese jackie.m at vt.edu
Tue May 1 14:14:31 PDT 2007


On May 1, 2007, at 5:07 PM, Aengus wrote:

> 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

If you really want to keep them merged, this will do what you're  
looking for:
http://mergelog.sourceforge.net/

It's used for merging clustered/round robin web server, and is handy  
for manually looking at the logs, but for analog it is unnecessary.

j.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2444 bytes
Desc: not available
Url : http://lists.meer.net/pipermail/analog-help/attachments/20070501/37e828a0/smime.bin


More information about the analog-help mailing list