Subject: | wrong data from apache log |
Rather than receiving the referer field from an apache log file that
looks like this:
12.34.56.78 - - [13/Mar/2008:07:38:53 +0100] "GET /creeper/image
HTTP/1.1" 200 252 "http://www.example.com/" "Mozilla/5.0 (Windows; U;
Windows NT 6.0; sv-SE; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
I receive the last part of the user agent field:
Firefox/2.0.0.12"
The Apache2 configuration for that file is:
CustomLog /var/log/apache2/gnuheter.log combined
And the combined log file format is from the default configuration:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined