From 502bfd940bfc39fe4eb256d8bd06cc5a15c098d3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 7 Feb 2015 14:51:06 +0000 Subject: - s6-log overhaul (more stack, less heap), with new directives - related doc update - version: 2.1.1.0 rc --- doc/s6-log.html | 70 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 53 insertions(+), 17 deletions(-) (limited to 'doc/s6-log.html') diff --git a/doc/s6-log.html b/doc/s6-log.html index 0a525d6..ae54010 100644 --- a/doc/s6-log.html +++ b/doc/s6-log.html @@ -53,9 +53,9 @@ exit when reading EOF on stdin.
  • -t : timestamp. Prepends every log line that is written to a logging directory with a TAI64N -timestamp.
  • +timestamp. This option is now deprecated.
  • -e : timestamp alerts. Prepends every "alert" line with a -TAI64N timestamp.
  • +TAI64N timestamp. This option is now deprecated.
  • -q | -v : quiet | verbose. Decreases | increases s6-log's verbosity, i.e. which messages are sent to stderr. The default verbosity is 1. Currently supported verbosity levels: @@ -220,8 +220,29 @@ an unpadded, unlimited status file. By default, statussize is 1001. execlineb must be found in s6-log's PATH. If processor is empty, no processor will be set for the next logdirs. By default, no processor is set.
  • +
  • t: the logged line will be prepended with a +TAI64N +timestamp (and a space) before being processed by the next action +directive. Giving the t directive several times before an action +directive has no effect.
  • +
  • T: the selected line will be prepended with a +ISO 8601 +timestamp for combined date and time representing local time +according to the system's timezone, with a space (not a 'T') +between the date and the time and two spaces after the time, before being +processed by the next action directive. Giving the T directive +several times before an action directive has no effect.
  • +

    + Note that unlike the other control directives, the t and +T directives are not sticky: their effect will +disappear after the next action directive, and they need to be +reapplied if necessary. If both a t and a T +directives are given before an action directive, the TAI64N timestamp +will always appear before the ISO 8601 timestamp. +

    +

    Action directives

    @@ -230,9 +251,14 @@ selected lines.

    -

    What does s6-log have to do with all this ?

    + +

    What does s6-log have to do with all this ?

    +

    In a logging chain situation, every service must have @@ -473,8 +507,10 @@ your system's loggers. -

    You're wrong about being as powerful as -syslogd: s6-log does not do remote logging.

    + +

    You're wrong about being as powerful as +syslogd: s6-log does not do remote logging.

    +

    You mean you want to send, live, every log line -- cgit v1.2.3