]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
Revert "MINOR: mux-quic: activate qmux traces on stdout via macro"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 May 2022 07:25:19 +0000 (09:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 23 May 2022 09:06:42 +0000 (11:06 +0200)
This reverts commit 251eadfce55b8e5d7a2ac2d87d17ba36147cb4ad.

This patch is similar to the previous revert for QUIC-MUX traces.

src/mux_quic.c

index c1cea6fa3c9813ad5180f264f4550ecda2b142cc..5fafb22b546d692b76d23c7bba3ffae814809ac8 100644 (file)
@@ -11,7 +11,6 @@
 #include <haproxy/ncbuf.h>
 #include <haproxy/pool.h>
 #include <haproxy/quic_stream.h>
-#include <haproxy/sink.h>
 #include <haproxy/ssl_sock-t.h>
 #include <haproxy/trace.h>
 #include <haproxy/xprt_quic.h>
@@ -1656,21 +1655,6 @@ static void qmux_trace(enum trace_level level, uint64_t mask,
        }
 }
 
-/* Function to automatically activate QUIC MUX traces on stdout.
- * Activated via the compilation flag -DENABLE_QUIC_STDOUT_TRACES.
- * Main use for now is in the docker image for QUIC interop testing.
- */
-static void qmux_init_stdout_traces(void)
-{
-#ifdef ENABLE_QUIC_STDOUT_TRACES
-       trace_qmux.sink = sink_find("stdout");
-       trace_qmux.level = TRACE_LEVEL_DEVELOPER;
-       trace_qmux.state = TRACE_STATE_RUNNING;
-       trace_qmux.verbosity = QMUX_VERB_MINIMAL;
-#endif
-}
-INITCALL0(STG_INIT, qmux_init_stdout_traces);
-
 
 static const struct mux_ops qc_ops = {
        .init = qc_init,