|
From: Jan B. <ja...@we...> - 2007-09-03 23:56:10
|
Hi Leos, Well, every example I can see has the time/date field surrounded by []. But, if your sys admin can point me to the part of the specification that specifies exactly under which circumstances the [] should be applied, then I'll sure modify jetty accordingly. Sound fair? BTW, thanks to your email, I've had a closer look at the NCSARequestLog and I've realized that it's default date format doesn't match the default date format for the common log format, so I've fixed it (svn rev 2083). best regards Jan Leos Literak wrote: > 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 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Jetty-support mailing list > Jet...@li... > https://lists.sourceforge.net/lists/listinfo/jetty-support > -- Jan Bartel, Webtide LLC | ja...@we... | http://www.webtide.com |