]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: trace: create a new "trace" statement in the "global" section
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Nov 2022 16:29:12 +0000 (17:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Nov 2022 16:55:53 +0000 (17:55 +0100)
commit9fd0542148d8e02f1a81948f9e8689ea7d2d9533
tree77ca16ae80fd524b5dc855a47b76b5f2d9da9604
parentc11f1cdf4d60a9b4c27bd681f6b242de7cd8d3b7
MEDIUM: trace: create a new "trace" statement in the "global" section

The exact same commands as those from the CLI may be pre-loaded at boot
time by passing them one per line after the "trace" keyword in the global
section; i.e. just copy-pasting all commands directly there will do the
job. Note that if a ring is mentioned, it needs to be declared before the
global section. Another option is to append another global section after
"ring".

For now the keyword is marked as experimental to discourage its broad
adoption by default. "expose-experimental-directives" needs to be placed
in the global section to expose it.
doc/configuration.txt
src/trace.c