Jean-Christian Imbeault <[EMAIL PROTECTED]> wrote:
> Jean-Christian Imbeault wrote:
>
>> But I did put all the log formats into my analog.cfg file. I have the
>> following lines:
>>
>> APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"REF: %{Referer}i\"
>> \"%{User-Agent}i\")
>> APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
>> \"%{User-Agent}i\")
>> LOGFORMAT COMMON
>> LOGFORMAT COMBINED> Sorry to bug the list again but does anyone have any suggestions on > how I can analog to parse my log file even though it contains lines > with varying logging formats? The "invalid" line had a * under REF, so, even though the line matched the first LOGFORMAT above, for some reason Analog was trying to evaluate it as a different format. I would have thought that you had the LOGFORMATs in the right order, but I haven't looked at the code, so I'm not entirely sure in what order they are evaluated. Perhaps reversing the order might make a difference? Aengus +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
