| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Thu, 13 Apr 1995 16:42:05 +0500 Errors-To: procmaster@www19.w3.org Reply-To: brian@wired.com From: Brian Behlendorf <brian@wired.com> To: Multiple recipients of list <www-talk@www10.w3.org> 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/
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |