Thank you, that was helpful.

In case anyone reading this in the future has the same problem - I solved 
mine by using *gpr_set_log_function()* in the log.h file:
https://grpc.github.io/grpc/cpp/impl_2codegen_2log_8h.html#ae437062e3540eeebb4c95f119fe56be5

В 20:12:54 UTC+1на четвъртък, 1 октомври 2020 г. [email protected] написа:

> This is how logging is implemented for windows - 
> https://github.com/grpc/grpc/blob/8c142a1d8c66a25598151bf154655da9288ffa5a/src/core/lib/gpr/log_windows.cc#L95
>
> On Tuesday, September 29, 2020 at 10:35:35 AM UTC-7 [email protected] 
> wrote:
>
>> Hi,
>>
>> I've been trying to save the gRPC output to a log file when using 
>> GRPC_TRACE and GRPC_VERBOSITY, but I'm not sure how to pick it up. I use 
>> C++ on Windows:
>>
>>    - When I run my application from cmd, I see the gRPC output
>>    - When I start it from the Visual Studio debugger I don't see it in 
>>    the console output. I also don't see it in the Output tab in Visual 
>> Studio.
>>
>> So I was just wondering if someone could clarify to which output stream 
>> the gRPC log goes please? It doesn't seem to be normal cout; is it a cerr 
>> or a clog?
>>
>> Regards,
>> Paulin
>>
>

-- 
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/8a8c9bd9-8b9b-4eff-b546-ddccd7013ea3n%40googlegroups.com.

Reply via email to