]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: set-log-level in Logging section preamble
authorJim Freeman <sovrajn@gmail.com>
Tue, 26 May 2015 15:16:34 +0000 (09:16 -0600)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Jun 2015 14:16:39 +0000 (16:16 +0200)
As best I can tell, no mention is made of "set-log-level" in the Logging
[Section 8] of the doc.

Something akin to the following in the doc would have saved a good chunk of
time/angst in addressing a logging issue I encountered :

doc/configuration.txt

index 910dffc5185cb6e54ae60277b2ce65bcf0b8472e..1e018451dda9920633d56a6c4c3c274e883ffef6 100644 (file)
@@ -12945,6 +12945,8 @@ send logs to different sources at the same time with different level filters :
   - per-instance external troubles (servers up/down, max connections)
   - per-instance activity (client connections), either at the establishment or
     at the termination.
+  - per-request control of log-level, eg:
+        http-request set-log-level silent if sensitive_request
 
 The ability to distribute different levels of logs to different log servers
 allow several production teams to interact and to fix their problems as soon