From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6087 invoked from network); 26 Jun 2020 00:09:32 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2020 00:09:32 -0000 Received: (qmail 18764 invoked by uid 89); 26 Jun 2020 00:09:52 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 18757 invoked from network); 26 Jun 2020 00:09:51 -0000 From: "Laurent Bercot" To: "John W Higgins" , Supervision Subject: Re: Following log directories Date: Fri, 26 Jun 2020 00:09:25 +0000 Message-Id: In-Reply-To: References: Reply-To: "Laurent Bercot" User-Agent: eM_Client/7.2.37929.0 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudeltddgfedtucetufdoteggodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhhrfgggtgfgsehtqhertddtreejnecuhfhrohhmpedfnfgruhhrvghnthcuuegvrhgtohhtfdcuoehskhgrqdhsuhhpvghrvhhishhiohhnsehskhgrrhhnvghtrdhorhhgqeenucggtffrrghtthgvrhhnpedvgfevffeuleegvdektdffteegvdeiieefkeetgfeuheffheelheejhfevueeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht >I use lnav [1] for a similar concept and it parses TAI64N but it does not >deal with leap seconds so my timestamps were off by like 20 seconds (or >something similar). I had to modify the code to handle the leap seconds. TAI64N labels represent TAI time, which is linear; when you need a leap second table is when you want to convert TAI labels to UTC or local time. My guess is that lnav just prints the TAI time as if it were UTC, which indeed will print a time that, in 2020, is too high by 27 seconds. If that is the case, it's a bug that would be worth reporting to lnav. -- Laurent