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.
This commit is contained in:
parent
e9928c306c
commit
66bff034d7
|
@ -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
|
Loading…
Reference in New Issue