From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/866 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Time discrepancy between svlog and application in log Date: Fri, 2 Sep 2005 09:46:42 -0400 (EDT) Message-ID: References: <78841E2C-AC3E-41EA-9A5C-346B1DBF68BD@nednieuws.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1125668918 26729 80.91.229.2 (2 Sep 2005 13:48:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2005 13:48:38 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1102-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Sep 02 15:48:36 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EBBsT-0008JK-9X for gcsg-supervision@gmane.org; Fri, 02 Sep 2005 15:46:45 +0200 Original-Received: (qmail 16156 invoked by uid 76); 2 Sep 2005 13:47:06 -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 16150 invoked from network); 2 Sep 2005 13:47:06 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com Original-To: "Charles M. Gerungan" In-Reply-To: <78841E2C-AC3E-41EA-9A5C-346B1DBF68BD@nednieuws.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:866 Archived-At: On Fri, 2 Sep 2005, Charles M. Gerungan wrote: > Original line: > > @4000000043174ed71a26f434 2005-09-01 20:56:10: (log.c.73) server started > > Piped through tai64nlocal: > > 2005-09-01 20:56:13.438760500 2005-09-01 20:56:10: (log.c.73) server started > > Why is there a discrepancy between the two times: 20:56:13 vs. 20:56:10? Delay somewhere in a possibly busy system. "application" looked at its watch. Decided the time was 20:56:10, started building a string, then (some time later) pushed that string into a socket. Some time later, svlogd pulled the string from the socket, looked at its watch, started building a string, then wrote the string into the file. Such discrepancy is inevitable, but won't necessarily be noticeable.