On Sat, 3 Jul 2004, Dennis wrote:

> youve heard this more than once - but I am at the end of my wits.
> My logfile looks (to me) just like the example but it won´t work.
> Please help.
>
> Analog version 5.32 on win 2000 pro german
>
> following: 1st two lines of logfile.
>
> 64.68.82.58 - - [03/May/2004:01:14:06 +0200] "GET /robots.txt HTTP/1.0" 404
> 2118 www.teneriffa-ferienhaus.net "-" "Googlebot/2.1
> (+http://www.googlebot.com/bot.html)" "-"
> 64.68.82.58 - - [03/May/2004:01:14:07 +0200] "GET / HTTP/1.0" 200 30862
> www.teneriffa-ferienhaus.net "-" "Googlebot/2.1
> (+http://www.googlebot.com/bot.html)" "-"
>

It's not the same as the example, it's got an extra virtual-host field
before the referrer, and an extra field after the browser.

You can either copy the LOGFORMAT from the documentation, and insert an
extra %v and %j in the appropriate places. Or, probably simpler, just copy
your Apache LogFormat into the analog APACHELOGFORMAT command.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
  "Low Priced Cambridge Clare College. Big selection at eBay UK!"
  (Ad after Google search for Clare College Cambridge)
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  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