Click to See Complete Forum and Search --> : Traffic (access) log problem, please help!!!


roster
08-24-2001, 09:28 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:

207.238.134.18 - - [24/Aug/2001:13:29:21 -0700] "GET /main HTTP/1.0" 301 328


could someone please help and tell me where I am going wrong, or if there is any other file or code that I need to change.
Thanks a lot



:confused:

[ 24 August 2001: Message edited by: roster ]