From: William Lallemand Date: Wed, 6 Nov 2024 16:19:57 +0000 (+0100) Subject: EXAMPLES: add "traces.cfg" with traces examples X-Git-Tag: v3.1-dev12~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66bff034d722da45f85974aea1cc544d2f59b040;p=thirdparty%2Fhaproxy.git EXAMPLES: add "traces.cfg" with traces examples Add an example on how to use the traces section. The example use the 3.1-dev8 syntax and enables all traces on stderr. --- diff --git a/examples/traces.cfg b/examples/traces.cfg new file mode 100644 index 0000000000..5a57e39d6e --- /dev/null +++ b/examples/traces.cfg @@ -0,0 +1,21 @@ +# This configuration example enables all trace available and output them on +# stderr. +# "stream" traces need haproxy to be compiled with -DDEBUG_DEV or -DDEBUG_FULL + +.if version_atleast(3.1-dev8) +traces + trace all sink stderr level developer + + trace pt verbosity complete start now + trace h1 verbosity complete start now + trace h2 verbosity complete start now + trace fcgi verbosity complete start now + trace spop verbosity complete start now + trace stream verbosity complete start now + trace check verbosity complete start now + trace applet verbosity complete start now + trace h3 start now + trace quic start now + trace qmux start now + trace peers start now +.endif