From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1155 Path: news.gmane.org!not-for-mail From: Roy Lanek Newsgroups: gmane.comp.sysutils.supervision.general Subject: ISO 8601 format (time) Date: Mon, 12 Jun 2006 16:55:05 +0700 Message-ID: <20060612095505.GA4978@kayumanis> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150106946 25898 80.91.229.2 (12 Jun 2006 10:09:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2006 10:09:06 +0000 (UTC) Original-X-From: supervision-return-1391-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jun 12 12:09:02 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FpjLn-0001NP-Mn for gcsg-supervision@gmane.org; Mon, 12 Jun 2006 12:08:51 +0200 Original-Received: (qmail 25734 invoked by uid 76); 12 Jun 2006 10:09:12 -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 25728 invoked from network); 12 Jun 2006 10:09:11 -0000 X-Qmail-Scanner-Mail-From: lanek@novenine.com via mail.httpdnet.com X-Qmail-Scanner: 1.25 (Clear:RC:1(61.94.234.104):. Processed in 0.539927 secs) Original-To: supervision@list.skarnet.org Content-Disposition: inline Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1155 Archived-At: What about adding a ... -ti timestamp. Prefix each selected line with a human readable, sortable, ISO 8601 compliant timestamp of the form YYYY-MM-DDTHH:MM:SS.xxxxx when writing to log or to standard error. in the options of svlogd (runit/socklog)? Notice the difference: -tt uses '_', -ti 'T' ... example: 2006-05-11_02:45:09.25607 vs. 2006-05-11T02:45:09.25607 -tt is fine, but not *standard* (ISO); on the other hand, it can't be changed *a posteriori* that easily/quickly. Cheers, /Roy Lanek -- ######################## seperti pinang dibelah dua ##### . slackware ###### like a halved pinang ##### +-----linux ###### [means: two things that are quite different!, because ######################## you can never halve a pinang tree with an axe neatly]