Click to See Complete Forum and Search --> : Access log problem, please help


roster
08-27-2001, 12:04 PM
I am working on red hat 7.1
I am trying to set up the logs that will capture the traffic that comes to the server and I want the information that are captured to be like the following log
4.40.49.118 - - [14/Nov/2000:16:15:11 -0800] "GET / HTTP/1.1" 200 2965 "http://www.go.com/Split?pns=0&pat=gt&tid=13744&ru=0&qt=web
My httpd.conf file has the following code in it which I think shoul be right

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

but the log that comes out of this code is like this