From adb345d485707c8b4c98f8c48b8610b340e30f2e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 12 Nov 2018 07:56:13 +0100 Subject: [PATCH] DOC: logs: the format directive was missing from the second log part The "log" statement appears both in the global section and in listeners. The "format" directive was only documented in the first one. Maybe we should think about moving this definition to the log section by now. --- doc/configuration.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 096a1fa9e..7679998e9 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -5066,7 +5066,7 @@ load-server-state-from-file { global | local | none } log global -log
[len ] [ []] +log
[len ] [format ] [ []] no log Enable per-instance logging of events and traffic. May be used in sections : defaults | frontend | listen | backend @@ -5116,6 +5116,15 @@ no log generally fine for all standard usages. Some specific cases of long captures or JSON-formatted logs may require larger values. + is the log format used when generating syslog messages. It may be + one of the following : + + rfc3164 The RFC3164 syslog message format. This is the default. + (https://tools.ietf.org/html/rfc3164) + + rfc5424 The RFC5424 syslog message format. + (https://tools.ietf.org/html/rfc5424) + must be one of the 24 standard syslog facilities : kern user mail daemon auth syslog lpr news