[EMAIL PROTECTED] wrote:
> Hello,
>
> I'm trying to configure analog to read my log format...  I've tried
> everything and it still won't recognize the format.
> Here's a sample line from my log file:
>
> 24.251.137.5 - - [26/Feb/2007:00:30:30 -0500] "GET
> /sampledirectory/News/rss.xml HTTP/1.1" 404 2308
> www.samplesite.com "http://www.anothersite.com/News/Archive.html";
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows
> NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)" "-"
>
> Could someone tell me how I need to modify the configuration file (I'm
> using the Mac version)?  Here is a link to my web
> host file about the log files:
> http://faq.1and1.com/miscellaneous/9.html

if the information on that page was correct, then you'd simply use that 
information with Analogs APACHELOGFORMAT command.

But it looks as though the logfile line you provided was created by a 
slightly different Apache configuration that the one documented. This 
entry in your analog.cfg file (just before a LOGFILE line pointing to 
the logfile), should parse your logfiles:
APACHELOGFORMAT (%h %l %u %t \"%r\" %s %b %v \"%{Referer}i\" 
\"%{User-agent}i\" "%j")

Note that I marked the last field as %j - I can't tell what it might be 
from the sample line provided.

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