I figured I'd update this archive message...I believe there was a 
minor mistake - the access-log format below reverses the agent and 
referer.  No big deal, however, in some reporting packages it shows top 
referer's in top browsers...and vice - versa....

here is a nice monthly access log:

<access-log format="$ip - $user [$time] &quot;$request&quot; $status $size 
&quot;$referer&quot; &quot;$agent&quot;" path="/blah/access.log" 
split="month" suffix="_yyyy-MM" />

http://httpd.apache.org/docs/mod/mod_log_config.html
NCSA extended/combined log format from APACHE WEB SITE
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""



At 02:23 PM 12/3/00 +0100, you wrote:
>At 14:47 02.12.00 , you wrote:
>
>>     Anybody using standard tools to analyze logs?  Anybody have the 
>> format string for apache's combined format set up?  So it is a quick fix?
>>
>>David
>
>this is what we use and it works with standard analyzer tools like webtrends
>
>     <access-log format="$ip - $user [$time] &quot;$request&quot; $status 
> $size &quot;$agent&quot; &quot;$referer&quot;" 
> path="../log/access-playground.log" split="day" suffix="_yyyy-MM-dd" />
>
>
>btw. have you checked the archive? I think this has been posted before.
>
>HTH
>
>robert
>
>
>
>(-) Robert Krüger
>(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
>(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
>(-) Tel: 06151 665401, Fax: 06151 665373
>(-) [EMAIL PROTECTED], www.signal7.de
>



Reply via email to