|
From: Leos L. <lit...@se...> - 2007-09-03 19:57:59
|
Jan Bartel wrote: > Leos, > > The request logger is using the NCSA common log format, which > always surrounds the date field with [ ]: > > http://httpd.apache.org/docs/2.2/logs.html Jan, thank you for your answear, but awstat is still not running and my admin tries to convince me, that it is jetty's configuration issue. I read above URL and there is nothing written about [] around time. Running '"/usr/lib/cgi-bin/awstats.pl" So searching new records from beginning of log file... AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log. Your log file /data/abclinuxu_data/logs/testik.log must have a bad format or LogFormat parameter setup does not match this format. Your AWStats LogFormat parameter is: %host %other %logname %time2 %methodurl %code %bytesd %refererquot %uaquot This means each line in your web server log file need to have the following personalized log format: %host %other %logname %time2 %methodurl %code %bytesd %refererquot %uaquot And this is an example of records AWStats found in your log file (the record number 50 in your log): 81.27.200.198 - - [2007-09-01 00:00:16] "GET /auto/abc.rss HTTP/1.1" 200 8126 "-" "RSSPoint/2 (2b91;Windows XP)" Example: 217.195.161.18 - - [2007-09-01 01:38:09] "GET / HTTP/1.1" 302 0 "-" "-" 217.195.161.18 - - [2007-09-01 01:38:09] "GET / HTTP/1.1" 200 16066 "-" "-" 66.249.65.52 - - [2007-09-01 01:38:10] "GET /bazar?from=120&count=40 HTTP/1.1" 200 11716 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.65.52 - - [2007-09-01 01:38:11] "GET /blog/show/103337?varianta=print HTTP/1.1" 200 4789 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" Any idea? Thank you Leos |