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/index.html | 6 ++--- doc/s6-log.html | 70 ++++++++++++++++++++++++++++++++++++++++++-------------- doc/upgrade.html | 9 ++++++++ 3 files changed, 65 insertions(+), 20 deletions(-) (limited to 'doc') diff --git a/doc/index.html b/doc/index.html index bf3252a..ab9a620 100644 --- a/doc/index.html +++ b/doc/index.html @@ -82,11 +82,11 @@ with s6
  • GNU make, version 4.0 or later. Please be aware that s6 will not build with an earlier version.
  • skalibs version -2.2.1.0 or later. It's a build-time requirement. It's also a run-time +2.3.0.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • execline version -2.0.2.0 or later. It's a build-time and run-time requirement.
  • +2.0.2.1 or later. It's a build-time and run-time requirement.

    Licensing

    @@ -99,7 +99,7 @@ library.

    Download

    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 diff --git a/doc/upgrade.html b/doc/upgrade.html index c7c0094..3a29aa6 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,6 +17,15 @@

    What has changed in s6

    + +

    in 2.1.0.1

    -- cgit v1.2.3