W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1995

Re: Common Log format II

From: Brian Behlendorf <brian@wired.com>
Date: Thu, 13 Apr 1995 10:56:17 -0800 (PST)
To: Joel Crisp <Joel.Crisp@bristol.ac.uk>
Cc: Multiple recipients of list <www-talk@www10.w3.org>
Message-Id: <Pine.BSD.3.91.950413105353.8297h-100000@get.wired.com>
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

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:16 UTC