This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new aeb144d314 quic: Enable quiche debug logging only if debug tag 
vv_quiche is set (#11774)
aeb144d314 is described below

commit aeb144d3149f34cfe354f25027a40a01c1725d12
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Tue Sep 17 09:16:03 2024 -0600

    quic: Enable quiche debug logging only if debug tag vv_quiche is set 
(#11774)
---
 src/iocore/net/QUICNetProcessor.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/iocore/net/QUICNetProcessor.cc 
b/src/iocore/net/QUICNetProcessor.cc
index b5ab10c90f..d2e273e613 100644
--- a/src/iocore/net/QUICNetProcessor.cc
+++ b/src/iocore/net/QUICNetProcessor.cc
@@ -86,7 +86,9 @@ QUICNetProcessor::start(int, size_t /* stacksize ATS_UNUSED 
*/)
   QUICCertConfig::startup();
   QUICConfig::scoped_config params;
 
-  quiche_enable_debug_logging(debug_log, NULL);
+  if (dbg_ctl_vv_quiche.tag_on()) {
+    quiche_enable_debug_logging(debug_log, NULL);
+  }
   this->_quiche_config = quiche_config_new(QUICHE_PROTOCOL_VERSION);
 
   std::string quic_app_protos = "\02h3\x05h3-29\x05h3-27";

Reply via email to