diff --git a/src/core/lib/gpr/log.cc b/src/core/lib/gpr/log.cc index 9a5a54f666a..9400f7c4bfa 100644 --- a/src/core/lib/gpr/log.cc +++ b/src/core/lib/gpr/log.cc @@ -28,7 +28,12 @@ #include #include -GPR_GLOBAL_CONFIG_DEFINE_STRING(grpc_verbosity, "ERROR", +#ifndef GPR_DEFAULT_LOG_VERBOSITY_STRING +#define GPR_DEFAULT_LOG_VERBOSITY_STRING "ERROR" +#endif // !GPR_DEFAULT_LOG_VERBOSITY_STRING + +GPR_GLOBAL_CONFIG_DEFINE_STRING(grpc_verbosity, + GPR_DEFAULT_LOG_VERBOSITY_STRING, "Default gRPC logging verbosity") GPR_GLOBAL_CONFIG_DEFINE_STRING(grpc_stacktrace_minloglevel, "", "Messages logged at the same or higher level "