Re: Common Log format II

Brian Behlendorf (
Thu, 13 Apr 1995 16:32:06 +0500

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.