supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Time discrepancy between svlog and application in log
@ 2005-09-02 11:03 Charles M. Gerungan
  2005-09-02 13:46 ` Charlie Brady
  0 siblings, 1 reply; 2+ messages in thread
From: Charles M. Gerungan @ 2005-09-02 11:03 UTC (permalink / raw)


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?

-- 
Regards, Charles.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Time discrepancy between svlog and application in log
  2005-09-02 11:03 Time discrepancy between svlog and application in log Charles M. Gerungan
@ 2005-09-02 13:46 ` Charlie Brady
  0 siblings, 0 replies; 2+ messages in thread
From: Charlie Brady @ 2005-09-02 13:46 UTC (permalink / raw)
  Cc: supervision


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-02 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-02 11:03 Time discrepancy between svlog and application in log Charles M. Gerungan
2005-09-02 13:46 ` Charlie Brady

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).