Re: proposals for log file format changes

Tony Sanders <sanders@BSDI.COM>
Errors-To: secret@www0.cern.ch
Date: Tue, 8 Feb 1994 17:35:00 --100
Message-id: <199402081631.KAA13749@austin.BSDI.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: Tony Sanders <sanders@BSDI.COM>
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: 829
> 	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?

I think you have it backwards, it's well known how to go from GMT to a
given timezone (and the software to do so is freely available), however,
given just a TTT it is *impossible* to get back to GMT.  If you insist on
localtime (which I think is a bad idea personally, however, this is up to
the server) then at least use a numeric timezone (e.g., -0600).

--sanders