Re: A program that can get exactly the log of a supervised process?

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Mon, 25 Oct 2021 13:26:48 +0000

>Why not have the grepper listen on the log file directly? You'll need to have a timestamp in the log and know where the log is, but those can be known at the time of writing the service script.

  There's no such thing as "the log file". There's the log backendS,
which can be one or more automatically rotated log files in a directory,
status files, network backends, etc.
  The only way to access the log stream in a reliable and generic way
is to read it on the way to the backends. You have no control over
what happens later on.

--
  Laurent
Received on Mon Oct 25 2021 - 15:26:48 CEST

This archive was generated by hypermail 2.4.0 : Mon Oct 25 2021 - 15:27:17 CEST