From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/858 Path: news.gmane.org!not-for-mail From: Abhas Abhinav Newsgroups: gmane.comp.sysutils.supervision.general Subject: svlogd timestamps in local timezone Date: Mon, 29 Aug 2005 16:26:20 +0530 Organization: DeepRoot Linux Message-ID: <20050829105620.GE4539@deeproot.co.in> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125313090 11112 80.91.229.2 (29 Aug 2005 10:58:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 10:58:10 +0000 (UTC) Original-X-From: supervision-return-1094-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Aug 29 12:58:07 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1E9hJx-0006Ii-JB for gcsg-supervision@gmane.org; Mon, 29 Aug 2005 12:56:57 +0200 Original-Received: (qmail 26802 invoked by uid 76); 29 Aug 2005 10:57: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 26796 invoked from network); 29 Aug 2005 10:57:18 -0000 X-Spam-Status: No, hits=-2.7 required=4.0 X-Spam-Report: SA TESTS -2.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 TW_SV BODY: Odd Letter Triples with SV X-deepOfix-Mail-Filter-Mail-From: abhas@deeproot.co.in via anubhav X-deepOfix-Mail-Filter: 1.25st (Clear:RC:0(192.168.1.2):SA:0(-2.7/4.0):. Processed in 7.157797 secs Process 22978) Original-To: supervision@list.skarnet.org Content-Disposition: inline User-Agent: Mutt/1.5.9i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:858 Archived-At: Hi Everyone... I've got a small query on svlogd. When we use the '-t' switch with svlogd it puts in tai64n compatible timestamps in all log messages. Similarly, '-tt' puts the timestampts in human readable form. The problem is that both these options put the timestamps in UTC. So, if the system's timezone is configured as something else, then the timestamps don't really make too much sense to the user. Is there wa way to get time stamps in the local timezone? 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? Any thing on this will be very helpful... Regards, Abhas. -- Abhas Abhinav / i-take-charge at DeepRoot Linux Getting gnu/Linux to work for you. Faster. Better. Today. Every way.