From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/859 Path: news.gmane.org!not-for-mail From: Jared Rhine Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: svlogd timestamps in local timezone Date: Mon, 29 Aug 2005 14:53:50 -0700 Message-ID: <431383EE.2060700@wordzoo.com> References: <20050829105620.GE4539@deeproot.co.in> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1125352571 17139 80.91.229.2 (29 Aug 2005 21:56:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 21:56:11 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1095-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Aug 29 23:56:02 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1E9rZl-0004Vb-E8 for gcsg-supervision@gmane.org; Mon, 29 Aug 2005 23:53:57 +0200 Original-Received: (qmail 32587 invoked by uid 76); 29 Aug 2005 21:54:18 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 32581 invoked from network); 29 Aug 2005 21:54:18 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Abhas Abhinav In-Reply-To: <20050829105620.GE4539@deeproot.co.in> X-Enigmail-Version: 0.92.0.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:859 Archived-At: Abhas Abhinav wrote: > Is there wa way to get time stamps in the local timezone? Check the archives (search localtime and gmtime) for discussion of enhancement requests (I proposed -ttt for localtime logging). There were serious concerns on this list about correctness and correctness is important to runit design. The idea wasn't rejected outright, but there also was no clear message a patch would be accepted, so I didn't spend time putting one together. I do run a number of production runit installations where I've s/gmtime/localtime/ in the code (just one place in one file), and it works fine. > Or if the > timestamps are logged in the tai64n format, is there a tai64nlocal-like > utility that can convert them to something in the local timezone? This pipe-based approach was viewed as the more correct solution, though it didn't seem that the functionality was fully available at the time. I'm concerned about a few use cases where this is bad for usability; given that I view logs all the time, I judged that forking my runit installs from upstream because of this issuepoint was easier than the way logs themselves are reviewed.