summaryrefslogtreecommitdiff
path: root/doc/s6-log.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-06-25 11:53:22 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-06-25 11:53:22 +0000
commit96d70608d25da81038ac3bfb5273852f33e27504 (patch)
treedc8db927179918cc53e90bf52e2f77279f6d75ed /doc/s6-log.html
parent93591f27f37d68b71cf6dbc3112eb7e973a5b747 (diff)
downloads6-96d70608d25da81038ac3bfb5273852f33e27504.tar.xz
- documented s6-log changev2.1.5.0
- version: 2.1.5.0
Diffstat (limited to 'doc/s6-log.html')
-rw-r--r--doc/s6-log.html8
1 files changed, 5 insertions, 3 deletions
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 <em>logging script</em> 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 <em>never any log loss</em>. It exits cleanly when stdin closes or when
-it receives SIGTERM.
+it receives a SIGTERM or a SIGHUP.
</p>
<h2> Options </h2>
@@ -49,8 +49,10 @@ By default, s6-log keeps reading from stdin even if its buffers still
contain data. <tt>-b</tt> 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. </li>
- <li> <tt>-p</tt>&nbsp;: protect. Do not exit on receipt of a SIGTERM; only
-exit when reading EOF on stdin. </li>
+ <li> <tt>-p</tt>&nbsp;: 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. </li>
<li> <tt>-t</tt>&nbsp;: timestamp. Prepends every log line that is written to
a logging directory with a
<a href="http://skarnet.org/software/skalibs/libstddjb/tai.html">TAI64N</a>