Re: proposals for log file format changes

kevinh@eit.COM (Kevin 'Kev' Hughes)
Errors-To: secret@www0.cern.ch
Date: Tue, 8 Feb 1994 09:11:27 --100
Message-id: <9402080808.AA12897@eit.COM>
Errors-To: secret@www0.cern.ch
Reply-To: www-talk@www0.cern.ch
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: kevinh@eit.COM (Kevin 'Kev' Hughes)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: proposals for log file format changes
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1109
> Roy said:
>
> Rob said:
> 
> > Here's my proposal for a new logfile format:
> > 
> > host rfc931 authuser [DD/Mon/YYYY:hh:mm:ss] ``request'' ddd bbbb
> 
> > The only remaining thing I haven't changed is to make the timezone GMT.
> > Comments? 
> 
> I prefer local time, myself, as its extremely rare that someone would
> need to compare stats across time zones and what I usually look for in
> my stats is what local time is best for system changes.
> To put it another way, if it's GMT then every analyzer will either have
> to stick with GMT format (not user-friendly) or convert each log entry's
> timestamp to localtime (a non-portable bit of code).

	Good point - it's rather problematic to make portable code that
does that. As for me, I'll leave it up to the user to determine the
GMT time difference, should they wish to report times in GMT. For
backwards compatibility, the user also has to specify whether the
log times are in GMT or local time now.
	So now the format would be

host rfc931 authuser [DD/Mon/YYYY:hh:mm:ss TTT] ``request'' ddd bbbb

	...where TTT is the local timezone?

	-- Kevin