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

Mick Burrell <[EMAIL PROTECTED]> 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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to