On Tuesday, April 26, 2005 7:42 AM [GMT],
Klaus Johannes Rusch <[EMAIL PROTECTED]> wrote:

> A. Khattri wrote:
>
>> I have log files in two formats (in some cases, inside the same log
>> file) because after letting Apache run for awhile, I needed more
>> detail so I changed the logging format in the Apache config. Analog
>> doesn't recognize the files. I was wondering if analog can handle
>> this sort of situation?
>>
>>
> As long as the two formats can be uniquely identified, you can specify
> multiple LOGFORMAT statements and analog will pick the first one that
> matches.

Just to clarify, Analog will pick the first one that matches each line,
not each logfile, so you can have 2 formats in one file.

> If the formats are similar in structure and only the content
> is different, for example some fields changing position, analog will
> not be able to determine which log format to use and you will need to
> preprocess the old log files.

Good point!

Aengus

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

Reply via email to