From 1bf3cfd552af6fb3dbeb041c40f5da9955a6ad25 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sun, 13 Nov 2022 22:24:05 -0800 Subject: [PATCH] turn on some traces to try and debug ruby --- src/core/ext/transport/chttp2/transport/chttp2_transport.cc | 2 +- src/core/lib/channel/channel_stack.cc | 2 +- src/core/lib/gpr/log.cc | 2 +- src/core/lib/surface/call.cc | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc index 93d47da7399..b8d1edc8a69 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc @@ -127,7 +127,7 @@ static int g_default_max_pings_without_data = DEFAULT_MAX_PINGS_BETWEEN_DATA; static int g_default_max_ping_strikes = DEFAULT_MAX_PING_STRIKES; #define MAX_CLIENT_STREAM_ID 0x7fffffffu -grpc_core::TraceFlag grpc_http_trace(false, "http"); +grpc_core::TraceFlag grpc_http_trace(true, "http"); grpc_core::TraceFlag grpc_keepalive_trace(false, "http_keepalive"); grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount(false, "chttp2_refcount"); diff --git a/src/core/lib/channel/channel_stack.cc b/src/core/lib/channel/channel_stack.cc index 419493b71d5..38c91a4414b 100644 --- a/src/core/lib/channel/channel_stack.cc +++ b/src/core/lib/channel/channel_stack.cc @@ -32,7 +32,7 @@ using grpc_event_engine::experimental::EventEngine; -grpc_core::TraceFlag grpc_trace_channel(false, "channel"); +grpc_core::TraceFlag grpc_trace_channel(true, "channel"); grpc_core::TraceFlag grpc_trace_channel_stack(false, "channel_stack"); /* Memory layouts. diff --git a/src/core/lib/gpr/log.cc b/src/core/lib/gpr/log.cc index 71de49f7a52..6ae7479b1f1 100644 --- a/src/core/lib/gpr/log.cc +++ b/src/core/lib/gpr/log.cc @@ -29,7 +29,7 @@ #include "src/core/lib/gprpp/global_config.h" #ifndef GPR_DEFAULT_LOG_VERBOSITY_STRING -#define GPR_DEFAULT_LOG_VERBOSITY_STRING "ERROR" +#define GPR_DEFAULT_LOG_VERBOSITY_STRING "DEBUG" #endif // !GPR_DEFAULT_LOG_VERBOSITY_STRING GPR_GLOBAL_CONFIG_DEFINE_STRING(grpc_verbosity, diff --git a/src/core/lib/surface/call.cc b/src/core/lib/surface/call.cc index ef8e2afb2fe..9e0769431dd 100644 --- a/src/core/lib/surface/call.cc +++ b/src/core/lib/surface/call.cc @@ -97,8 +97,8 @@ #include "src/core/lib/transport/metadata_batch.h" #include "src/core/lib/transport/transport.h" -grpc_core::TraceFlag grpc_call_error_trace(false, "call_error"); -grpc_core::TraceFlag grpc_compression_trace(false, "compression"); +grpc_core::TraceFlag grpc_call_error_trace(true, "call_error"); +grpc_core::TraceFlag grpc_compression_trace(true, "compression"); grpc_core::TraceFlag grpc_call_trace(false, "call"); grpc_core::TraceFlag grpc_call_refcount_trace(false, "call_refcount");