Re: Following log directories

2020-06-27 Thread Jonathan de Boyne Pollard

John W Higgins wrote:

I meant nothing towards s6 - but daemontools does not deal with leap 
seconds (or at least it cetainly looks that way from my foolish 
viewpoint).


daemontools very much *does* deal in leap seconds.  The little-known 
requirement for daemontools, which *is* in its manual and has been all 
along albeit that many people have overlooked this, is that one use one 
of the Olson "right" timezones.


* http://jdebp.uk./Softwares/nosh/guide/timestamps.html

* http://cr.yp.to/daemontools/tai64nlocal.html



Re: Following log directories

2020-06-27 Thread Jonathan de Boyne Pollard

John W Higgins:

One thing to remember about tools like this is that s6 is very precise 
with it's implemenation of TAI64N - it uses leap seconds.


For the case of follow-log-directories, note that it does not decode the 
timestamps into times.  As long as they follow the simple (and obvious) 
constraints in its manual, the tool is happy.