On Tuesday, October 18, 2005 7:46 PM [EDT],
bobby saha <[EMAIL PROTECTED]> wrote:

> I'm a long-time user of Analog, but I am in charge of a new site that
> is hosted at a new ISP.
>
> I've been having quite a difficult time getting Analog to recognize
> the access logs provided:
>
> Here's what the ISP has to say about the format they use (I don't
> think I can change it, as it's a shared server)
>
> The raw log files are in Apache format:
> CustomLog /var/log/httpd/access_log "%{Host}i %h %l %u %t \"%r\" %s %
> b %v \"%{Referer}i\" \"%{User-agent}i\"
>
> I've tried many variations of the LOGFORMAT (and APACHELOGFORMAT).
> But I keep getting error messages:
>
>   Warning F: Can't auto-detect format of logfile (path deleted for
> brevity's sake)
>
> [AND/OR]
>
> analog: Warning C: Bad argument in configuration command: ignoring it:
>    APACHELOGFORMAT -> LOGFORMAT (%v %S %j %u [%d/%M/%Y:%h:%n:%j]
>    "%j%w%r%wHTTP%j" %c %b %v "%f" "%B")

Analog is seeing %v in there twice. Change the second %v to %j (either in
the APACHELOGFORMAT statement, or in the derived LOGFORMAT that Analog
displayed in the warning message).

(You get the "Can't autodetect" warning because your specified LOGFORMAT has
been ignored).

Aengus

+------------------------------------------------------------------------
|  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