]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: trace: Be able to chain commands for a source in one line
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Oct 2024 09:05:48 +0000 (11:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Oct 2024 08:22:51 +0000 (10:22 +0200)
commitc39c351a737e55d78ad138474cb35331f678e311
tree7bb42a937e6aba4202bfa2c7e0ae525fe945cb3f
parent15a520d47468b33feacb1b8928b1c0ebf777b538
MINOR: trace: Be able to chain commands for a source in one line

In the configuration file or on the CLI, configuring traces for a specific
source is a bit painful because this must be done in several lines. Thanks
to this patch, it is now possible to fully configure traces for a source in
one line. For instance, the following on the CLI:

  trace h1 sink stderr; trace h1 level developer; trace h1 verbosity complete; trace h1 start now

can now be replaced by:

  trace h1 sink stderr level developer verbosity complete start now

The same is true for the 'trace' directives in the configuration file.
doc/configuration.txt
doc/management.txt
src/trace.c