]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: config: unify "log" directive doc
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 25 Sep 2023 14:10:02 +0000 (16:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Oct 2023 13:34:30 +0000 (15:34 +0200)
commite5d23d8676b72e9b2df669b5c16628f69ecc8bc2
tree345b3a2286942a76ff65fc855d4352631675f69f
parent19a1210dcd6b9360c701197bd556cf78be3f6ff0
DOC: config: unify "log" directive doc

"log" directive description was found 2 times in the configuration file:

First, in 3.1 in the "global parameters" chapter, and then in 4.2 in the
per-proxy keyword options.

Both descriptions are almost identical: having to maintain the "same"
documentation in 2 different places is error-prone. Due to this, some
precisions have been added in one of them, and were missing from
the other, and vice-versa, probably because one didn't see that the
"log" directive was also documented elsewhere.

To prevent the 2 descriptions from further diverging, and make it easier
to maintain, we merge them in the per-proxy "log" directive description
(in 4.2 chapter), and we add a pointer to it in the global "log" to
encourage the user to refer to the per-proxy "log" documentation for
usage details.
doc/configuration.txt