Alex Gr�sser wrote:
> I have the following lines in my log file:
>
>
> And I have the following apache log format configured (which throws
> the lines above out as errors):
> APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"'
> APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b %T \"%{Referer}i\"
> \"%{User-Agent}i\"'
> APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b (%T) \"%{Referer}i\"
> \"%{User-Agent}i\"'

The first two don't match any of these lines - you might as well delete
them, unless you have other logs from other servers with different formats.

> I have no idea why the first line fails.

There is no HTTP/1.x section in the request, which Analog is expecting to
see.

> The second line fails because the status code is invalid. How do I
> handle this?

Get your web server to log a valid status code. Analog is handling the line
correctly.

> The third line fails because the referrer has " in the string. How do
> I handle this?

If you can't get your web server to convert them properly, then use a
different character than " to mark the beginning and end of the referrer in
the web server configuration.

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