From 5503b9b8cb48dff096fa658f2ac0b88d64ccb765 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Sat, 15 Jun 2024 02:51:40 +0000 Subject: [PATCH] Add comment --- src/core/util/log.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/util/log.cc b/src/core/util/log.cc index 8688a0a1007..2190e59619f 100644 --- a/src/core/util/log.cc +++ b/src/core/util/log.cc @@ -146,6 +146,9 @@ void gpr_to_absl_verbosity_setting_init(void) { } else if (absl::EqualsIgnoreCase(verbosity, "NONE")) { absl::SetVLogLevel("*grpc*/*", -1); absl::SetMinLogLevel(absl::LogSeverityAtLeast::kInfinity); + } else if (verbosity.empty()) { + // Do not set absl::MinLogLevel if verbosity has not been set. Note that the + // default gRPC min log severity that is printed will still be ERROR. } else { LOG(ERROR) << "Unknown log verbosity: " << verbosity; }