Re: Common Log format II

On Thu, 13 Apr 1995, Joel Crisp wrote:
> > I've been thinking about this too.  Let's call the string a "log
> > template".  Why not base it on the strftime() function?  The current
> > CLF would be:
> > 
> > %R %i %u [%d/%m/%Y:%H:%M:%S %O] "%q" %s %n
> If you do this, PLEASE make the field separator consistent - particularly
> as the date/time in the above string is so hard to parse with tools like
> 'awk'

Er, it's entirely up to you, the server administrator, to decide how to
separate strings (with this system).  You should be cognizant of what
characters may show up in which strings, however - for example, spaces are
allowed in the request, the user_agent, even the authentication name. 

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.organic.com/~brian/

Received on Thursday, 13 April 1995 14:56:46 UTC