From b218ce3469edc80f1227f5307e884e6d0a72f951 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Mon, 25 Sep 2023 16:38:39 +0200 Subject: [PATCH] DOC: config: log
becomes log in "log" related doc This is a follow up of the previous commit to emphasize that "log" directive allows to provide a log target which may directly be a server address but may also be a log transport facility such as rings. Thus we use the term "target" instead of "address" to make it more generic. --- doc/configuration.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 62be72fde..782bdeb59 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1836,7 +1836,7 @@ localpeer This option will also set the HAPROXY_LOCALPEER environment variable. See also "-L" in the management guide and "peers" section below. -log
[len ] [format ] [sample :] +log [len ] [format ] [sample :] [max level [min level]] Adds a global syslog server. Several global servers can be defined. They will receive logs for starts and exits, as well as all logs from proxies @@ -3749,7 +3749,7 @@ enabled This re-enables a peers section which was previously disabled via the "disabled" keyword. -log
[len ] [format ] [sample :] +log [len ] [format ] [sample :] [ []] "peers" sections support the same "log" keyword as for the proxies to log information about the "peers" listener. See "log" option for proxies for @@ -4169,7 +4169,7 @@ dgram-bind [param*] silently ignored as irrelevant for UDP/syslog case. log global -log
[len ] [format ] [sample :] +log [len ] [format ] [sample :] [ []] Used to configure target log servers. See more details on proxies documentation. @@ -8627,7 +8627,7 @@ load-server-state-from-file { global | local | none } log global -log
[len ] [format ] [sample :] +log [len ] [format ] [sample :] [ []] no log Enable per-instance logging of events and traffic. @@ -8642,12 +8642,12 @@ no log Arguments : global should be used when the instance's logging parameters are the same as the global ones. This is the most common usage. "global" - replaces
, and with those of the log + replaces , and with those of the log entries found in the "global" section. Only one "log global" statement may be used per instance, and this form takes no other parameter. -
indicates where to send the logs. It takes the same format as + indicates where to send the logs. It takes the same format as for the "global" section's logs, and can be one of : - An IPv4 address optionally followed by a colon (':') and a UDP @@ -24965,7 +24965,7 @@ index index index.php log-stderr global -log-stderr
[len ] [format ] +log-stderr [len ] [format ] [sample :] [ []] Enable logging of STDERR messages reported by the FastCGI application.