httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: Number of Virtual Servers
Date Fri, 22 Dec 1995 20:05:35 GMT

Our mod_log_config logfile format has been changed to the following:

%v|%h|%r|%{Content-type}o|%s|%T|%u|%b|%{Set-Cookie}o|%{Cookie}i|%{Referer}i|%{User-Agent}i

I had to do a few things to support this though:

1) New variables - %v is the virtualhost, %T is a new time format (YYYY/MM/DD-HH:MM:SS)
2) Convert any instance of "|" to "/" (A decision made for expediency but 
   I see it as adequate, not to mention efficient)
3) Modify mod_log_config to support %{Content-type}o.
4) Write a script to convert new-style to CLF so our legacy stats reports 
   still work, at least until I finish my new-style log analysis scripts.

The new script, and the modified mod_log_config module, are supplied for 
your edification and entertainment.  The conversion script needs to be 
modified for general use, actually.  Anyways, I feel like if we provided 
a very rich log format, and conversion utilities, we'd get most of the 
way towards what people want.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/

Mime
View raw message