From ddc76841398dfd5e18b22943727ad74b880236d3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 7 Dec 2022 17:40:23 +0000 Subject: s6-log: add p directive to add a prefix to every line Signed-off-by: Laurent Bercot --- doc/s6-log.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/s6-log.html b/doc/s6-log.html index c0e5313..4f2b99f 100644 --- a/doc/s6-log.html +++ b/doc/s6-log.html @@ -228,6 +228,12 @@ bytes of the selected lines will be used in the next status file updates. If a line is shorter than statussize bytes, the status file will be padded with newlines so it is always statussize bytes long. 0 means an unpadded, unlimited status file. By default, statussize is 1001. +
  • pprefix: sets prefix as a prefix to be +printed on every output line. For instance, a pfoobar: directive means +that the next action directives should prepend every line with foobar: +(plus a space) before outputting it. Note that a prefix is always printed +after the timestamps, if any. To remove a prefix for the next action +directives, use p.
  • !processor: registers execlineb -Pc processor as a processor for the next logdirs; execlineb must be found in s6-log's PATH. This directive is only -- cgit v1.2.3