Apache 2.x.x log files

Live forum: /viewtopic.php?t=55

chad

06-11-2004 01:48:20

Ok, recenly started using Apache 2.x at the office for some intranet sites. What is the first field in this log file? I'm familure with the rest.

@40000000418c50cc327df8d4 68.12.249.27 - - [05/Nov/2004:22:19:14 -0600] "GET /favicon.ico HTTP/1.1" 200 766 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1"

wolfie

06-11-2004 07:54:18

Chad,

My apache logs do not have that first field in them, what distro are you using??

chad

06-11-2004 09:16:04

Yea, strange. I'm running SuSE 9.1 Pro at the office.

Despite

08-11-2004 09:02:33

24 bytes of hexadecimal... weird. what apache modules are you loading? and what is specified in your log directives?

chad

08-11-2004 09:40:29

Here are the logformat lines in my config file:

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


I'm using "combined"

Despite

08-11-2004 14:33:28

well sir, I see the %h %l %u etc., but that first field isn't %h (the remote host) in any form I'm familiar with. FC implementation of httpd has that directory full of config files that get parsed on top of / after the main config file; could that be what's happening here?