From 66bff034d722da45f85974aea1cc544d2f59b040 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 6 Nov 2024 17:19:57 +0100 Subject: [PATCH] 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. --- examples/traces.cfg | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/traces.cfg 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