Hi, 

Is it possible to change the verbosity level of the native gRPC C core 
libraries *during runtime*? 
Setting the GRPC_VERBOSITY and GRPC_TRACE as described here 
<https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md>, seems to 
work only if it's done before initialization stages of gRPC C Core. 
To be more specific, we are using Grpc.Core 
<https://www.nuget.org/packages/Grpc.Core/> library which is the C# 
implementation of gRPC based on the native gRPC C-core library. When 
looking at the C-Core library, I see that in log.cc there is a static 
member called g_min_severity_to_print, which determines whether 
gpr_should_log or not, but that member is being set only during 
gpr_log_verbosity_init(), and that function is called only during 
initialization (grpc_init() --> grpc_once_init() --> ... --> 
do_basic_init() --> gpr_log_verbosity_init()).

Thanks,
Tomer.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/48b6cdb9-e00c-4725-b091-e19863da3046n%40googlegroups.com.

Reply via email to