Re: Configurable log proposal

robm@ncsa.uiuc.edu (Rob McCool)
Message-id: <9402012058.AA22722@void.ncsa.uiuc.edu>
From: robm@ncsa.uiuc.edu (Rob McCool)
Date: Tue, 1 Feb 1994 14:58:04 -0600
In-Reply-To: luotonen@ptsun00.cern.ch (Ari Luotonen)
       "Configurable log proposal" (Feb  1,  9:45pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: luotonen@ptsun00.cern.ch (Ari Luotonen), www-talk@www0.cern.ch
Subject: Re: Configurable log proposal
Content-Length: 1306
/*
 * Configurable log proposal  by Ari Luotonen
 *    written on Feb  1,  9:45pm.
 *
 * 
 * How about having a fully configurable log files, something
 * that would understand escapes like this:
 * 
 * Time:
 * 	%a abbreviated weekday name
 * 	%b abbreviated month name
 * 	%d day of month
 * 	%h 12h clock hour
 * 	%H 24h clock hour
 * 	%m month in decimal
 * 	%M minutes
 * 	%S seconds
 * 	%T time as %H:%M:%S
 * 	%w weekday in decimal
 * 	%y year without centuries
 * 	%Y full year
 * 	%Z time-zone
 * 	%% a single %
 * 	%n \n
 * 	%t \t
 * 
 * HTTP:
 * 	%B bytes transmitted
 * 	%U requested URL
 * 	%C client host address

I assume this is a host name if known, and an IP address if the name is not
known?

 * 	%E user email address
 
Where is this e-mail address coming from? It will either come from the auth.
or from identd, which are both provided below...
 
 * 	%A authenticated username
 * 	%I remote ident
 * 	%D method
 * 	%P protocol version

HTTP protocol version, I assume?

 * ...and what else?  I would be happy to implement this.  Maybe the %letters
 * could be selected in a better way and not respect the ones strftime()
 * uses.
 */

I actually tossed this idea around last October. I was wondering if it was
overkill. It will make the statistic collectors more complicated...

--Rob