aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-07-26 00:07:29 +0000
committerLaurent Bercot <ska@appnovation.com>2025-07-26 00:07:29 +0000
commit57ea798d76263abd5ade1438afaf40292a6f367c (patch)
tree2bd55b15d8ccb11dff1a2f3793edde8323f720f6 /doc
parent9310225247a826cffb950680dd07929fa6d970a8 (diff)
downloads6-57ea798d76263abd5ade1438afaf40292a6f367c.tar.gz
Seriously clean up s6-log; add Rperiod for periodic log rotations.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/s6-log.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/s6-log.html b/doc/s6-log.html
index 850da06..9b8b2a3 100644
--- a/doc/s6-log.html
+++ b/doc/s6-log.html
@@ -228,6 +228,11 @@ when the size of <tt>current</tt> goes higher than <em>filesize</em> minus
on the next logdirs, retry every <em>cooldown</em> milliseconds. By default,
<em>cooldown</em> is 2000; it's strongly discouraged to set it to a value
under 50. </li>
+ <li> <strong>R<em>period</em></strong>: if <em>period</em> is not zero,
+the next logdirs will be automatically rotated every <em>period</em> seconds,
+even if the <tt>current</tt> file has not reached the size limit. If
+<em>period</em> is zero (the default), the next logdirs will not be
+periodically rotated. </li>
<li> <strong>E<em>alertsize</em></strong>: only the first <em>alertsize</em>
bytes of the selected lines will be used in the next alerts. An
<em>alertsize</em> of 0 means no limit. By default, <em>alertsize</em> is