Re: bad records in access_log file

Klaus Johannes Rusch <[email protected]> Thu, 12 Mar 2009 10:30:26 +0100
Newsgroups gmane.comp.web.analog.general
Organization atmedia.net
Message-ID <[email protected]>
Nanu Kalmanovitz wrote:
> I found the following bad records in the error.txt file: 
>
> C: 66.249.71.69 - - [11/Mar/2009:19:00:57 +0200] "GET /robots.txt HTTP/1.1" 403 590
> C:                                                                                 *
>
> In the analog.cfg file I have 2 LOGFORMAT lines:
>
> LOGFORMAT (::%j)
> LOGFORMAT combined
>
> What can be the problem with the above records?
> How to solve it?
>   
LOGFORMAT combined expects referrer and browser information fields also 
(see http://www.analog.cx/docs/logfile.html#formats for details).

Two options:
1. Configure your Apache server to always include these two fields, even 
when they are empty ("" "" for requests with no browser or referrer 
information)
2. Configure analog to accept common and combined log formats as per 
http://www.analog.cx/docs/logfmt.html

LOGFORMAT (::%j)
LOGFORMAT COMBINED
LOGFORMAT COMMON


-- 
Klaus Johannes Rusch
[email protected]
http://www.atmedia.net/KlausRusch/

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------