From 96d70608d25da81038ac3bfb5273852f33e27504 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 25 Jun 2015 11:53:22 +0000 Subject: - documented s6-log change - version: 2.1.5.0 --- doc/s6-log.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/s6-log.html') diff --git a/doc/s6-log.html b/doc/s6-log.html index 3be1f4b..6306431 100644 --- a/doc/s6-log.html +++ b/doc/s6-log.html @@ -35,7 +35,7 @@ s6-log reads and compiles logging script to an internal form. Then it reads its standard input, line by line, and performs actions on it, following the script it is given. It does its best to ensure there is never any log loss. It exits cleanly when stdin closes or when -it receives SIGTERM. +it receives a SIGTERM or a SIGHUP.

Options

@@ -49,8 +49,10 @@ By default, s6-log keeps reading from stdin even if its buffers still contain data. -b is safer, but may slow down your service; the default is faster, but may lead to unbound memory use if you have a lot of output to write to a slow file system. -
  • -p : protect. Do not exit on receipt of a SIGTERM; only -exit when reading EOF on stdin.
  • +
  • -p : protect against SIGTERM. Do not exit on receipt of a +SIGTERM; only exit on a SIGHUP or when reading EOF on stdin. This is useful +for a logger that you really do not want to lose even if automated +administration (e.g. the downing of a supervision tree) would kill it.
  • -t : timestamp. Prepends every log line that is written to a logging directory with a TAI64N -- cgit v1.2.3