From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/507 Path: main.gmane.org!not-for-mail From: Jared Rhine Newsgroups: gmane.comp.sysutils.supervision.general Subject: svlogd localtime option Date: Thu, 01 Jul 2004 12:53:15 -0700 Message-ID: <871xjvo66s.wl@badger.wordzoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1088711610 14523 80.91.224.253 (1 Jul 2004 19:53:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2004 19:53:30 +0000 (UTC) Original-X-From: supervision-return-745-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jul 01 21:53:21 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Bg7cX-0000LK-00 for ; Thu, 01 Jul 2004 21:53:21 +0200 Original-Received: (qmail 23798 invoked by uid 76); 1 Jul 2004 19:53:39 -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 23792 invoked from network); 1 Jul 2004 19:53:38 -0000 Original-To: supervision@list.skarnet.org Xref: main.gmane.org gmane.comp.sysutils.supervision.general:507 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:507 In the spirit of making svlogd output useful to humans, svlogd has the -tt switch to output in human-readable UTC. Would there be resistance to having it be really useful by supporting a -ttt which uses localtime? We're really talking about having using localtime instead of gmtime in one line in fmt_ptime.c, though option processing and such would need to change. I appreciate that UTC-based servers are useful in a global setting, but it's a hindrance to good systems administration in many contexts. And there's always the internal politics, where coworkers complain. I couldn't find any references to this enhancement request in the mailing list archives. Apologies if this has been raised and rejected in the past. It may be the case that there's already an (undocumented?) -ttt option, if I'm reading svlogd.c right. It looks like that option truncates the sub-second portion. Perhaps -tttt for localtime instead? PS: #define USAGE in svlogd.c is out of sync with svlogd.8, with respect to -tt. -- jared@wordzoo.com "A black hole is where God is dividing by zero." -- attributed to Roger Smith