From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/514 Path: main.gmane.org!not-for-mail From: "Uffe Jakobsen" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: svlogd localtime option Date: Fri, 9 Jul 2004 11:04:58 +0200 Message-ID: <007801c46593$d21e1040$611e15ac@digiquant.com> References: <871xjvo66s.wl@badger.wordzoo.com> <20040704054801.5939.qmail@f950a45d36ced0.315fe32.mid.smarden.org> <87u0whk2qk.wl@badger.wordzoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1089363976 27304 80.91.224.253 (9 Jul 2004 09:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2004 09:06:16 +0000 (UTC) Cc: Original-X-From: supervision-return-752-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Jul 09 11:06:08 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 1BirKa-0000e4-00 for ; Fri, 09 Jul 2004 11:06:08 +0200 Original-Received: (qmail 7581 invoked by uid 76); 9 Jul 2004 09:06:29 -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 7576 invoked from network); 9 Jul 2004 09:06:29 -0000 Original-To: "Jared Rhine" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: main.gmane.org gmane.comp.sysutils.supervision.general:514 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:514 Hi Jared etc., Jared Rhine wrote: > > It's trivial for me to substitute gmtime with localtime, and my latest > installs are working great like that. First I fully agree on your arguments for a "-ttt" option - that would at least give individuals the choise between UTC and localtime logging... Another thing is the overall svlogd performance: Last year I did some performance measurements on some *VERY* busy Solaris and HP-UX systems - using a "localtime" modified svlogd... :-) The tests showed that calling localtime is about 25 times slower than calling gmtime - unfortunately I never did the same measurement for Linux-variants... (I might add that calling localtime_r is even slower than localtime ;-) Switching back to gmtime saved me from upgrading the boxes - but I realize that the above scenario is a somewhat extreme situation - and I still I think that having the '-ttt' would be good. kind regards Uffe