On Wednesday, January 26, 2005 7:58 AM [GMT],
john smith <[EMAIL PROTECTED]> wrote:

> When I run analog I get a warning as follows:
>
> analog: Warning L: Large number of corrupt lines in logfile
>   /var/log/httpd/access_log: turn debugging on or try different
>     LOGFORMAT Current logfile format:
>       %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%j" "%j"
> %j %j %t %v\n
>
> This is the relavant line in analog.cfg:
>
> APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%f\" \"%B\" %c %j %T %v)
> LOGFILE /var/log/httpd/access_log
>
> I didn't ask to junk referer info did I? Or browser info? There are a
> lot of %j's there, and I'm not sure why.
>
> My apache setup is as follows:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %c %T %v" custom2

Thew correct APACHELOGFORMAT for that is

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%c %T %v"

That's the whole point of the APACHELOGFORMAT command.

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