[Logwatch] httpd log error

Simon Matthews simon@paxonet.com
Sat, 14 Feb 2004 20:33:49 -0800 (PST)


Can anyone help me with these error messages:


Argument ""http://www.netcraft.com/survey/"" isn't numeric in addition (+) at /etc/log.d/scripts/services/http line 137, <STDIN> line 1.
Argument "200 0" isn't numeric in numeric gt (>) at /etc/log.d/scripts/services/http line 184, <STDIN> line 1.
Argument ""http://www.netcraft.com/survey/"" isn't numeric in addition (+) at /etc/log.d/scripts/services/http line 137, <STDIN> line 2.
Argument "200 0" isn't numeric in numeric gt (>) at /etc/log.d/scripts/services/http line 184, <STDIN> line 2.
Argument ""http://www.netcraft.com/survey/"" isn't numeric in addition (+) at /etc/log.d/scripts/services/http line 137, <STDIN> line 3.
Argument "200 0" isn't numeric in numeric gt (>) at /etc/log.d/scripts/services/http line 184, <STDIN> line 3.
Argument ""-"" isn't numeric in addition (+) at /etc/log.d/scripts/services/http line 137, <STDIN> line 4.
Argument "200 0" isn't numeric in numeric gt (>) at /etc/log.d/scripts/services/http line 184, <STDIN> line 4.


Here are  few lines from the logfile:
195.92.95.18 - - [08/Feb/2004:15:27:43 -0800] "HEAD / HTTP/1.0" 200 0 
"http://www.netcraft.com/survey/" "Mozilla/4.0 (compatible; Netcraft Web 
Server Survey)" "-"
195.92.95.18 - - [08/Feb/2004:15:30:25 -0800] "HEAD / HTTP/1.0" 200 0 
"http://www.netcraft.com/survey/" "Mozilla/4.0 (compatible; Netcraft Web 
Server Survey)" "-"

Here are the entries from the config files:
$HTTP_FIELDS = "client_ip ident userid timestamp request http_rc 
bytes_transfered referrer agent"
$HTTP_FORMAT = "space     space space    brace    quote   space        
space       quote   quote"

Apache log statements:
CustomLog /var/log/httpd/access_log combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" 
\"%{Authorization}i\"" combined

Simon