Skip to content

Commit 66bff03

Browse files
committed
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.
1 parent e9928c3 commit 66bff03

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

examples/traces.cfg

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This configuration example enables all trace available and output them on
2+
# stderr.
3+
# "stream" traces need haproxy to be compiled with -DDEBUG_DEV or -DDEBUG_FULL
4+
5+
.if version_atleast(3.1-dev8)
6+
traces
7+
trace all sink stderr level developer
8+
9+
trace pt verbosity complete start now
10+
trace h1 verbosity complete start now
11+
trace h2 verbosity complete start now
12+
trace fcgi verbosity complete start now
13+
trace spop verbosity complete start now
14+
trace stream verbosity complete start now
15+
trace check verbosity complete start now
16+
trace applet verbosity complete start now
17+
trace h3 start now
18+
trace quic start now
19+
trace qmux start now
20+
trace peers start now
21+
.endif

0 commit comments

Comments
 (0)