That is correct. Binary logging is not yet supported in Core based 
languages.

On Monday, August 2, 2021 at 11:26:54 AM UTC-7 Eric Anderson wrote:

> I'll let someone else explain more of the state for C-based languages.
>
> As I understand it, binary logging isn't supported in the C-based 
> languages which includes C#, C++, Python, and others. grpc-dotnet does 
> not support binary logging 
> <https://github.com/grpc/grpc-dotnet/blob/master/doc/implementation_comparison.md#binary-logging>.
>  
> grpc-go's implementation is in grpc/binarylog 
> <https://pkg.go.dev/google.golang.org/grpc@v1.39.0/binarylog>. 
> grpc-java's is 
> <https://grpc.github.io/grpc-java/javadoc/io/grpc/protobuf/services/BinaryLogs.html>
>  at 
> io.grpc.protobuf.services.BinaryLogs 
> <https://grpc.github.io/grpc-java/javadoc/io/grpc/protobuf/services/BinaryLogs.html>.
>  
> Should be clear in both cases how to write to a different collector. Java 
> doesn't expose the concrete protobuf type to the sink, so filtering will be 
> harder than in Go. In general, filtering based on RPC request will be hard 
> because 1) the message is untyped and serialized, so you'll need some 
> custom logic to decode it and 2) the message may be truncated which can 
> trivially fail deserialization even if the field you want wasn't truncated.
>
> On Mon, Jul 19, 2021 at 10:02 AM Xiaofeng Han <xiaofe...@gmail.com> wrote:
>
>> friendly ping, thanks.
>>
>> On Thursday, July 15, 2021 at 9:08:51 PM UTC-7 Xiaofeng Han wrote:
>>
>>> Hello grpc-io group,
>>>
>>> This is Xiaofeng from Roblox, I am very interested in using the grpc 
>>> binary logging to build a debugging tool for all the micro-services at 
>>> Roblox. So far I only find this grfc 
>>> <https://github.com/grpc/proposal/pull/41/commits/09a4c556ef267cc705f42f996fa77800865c052d#diff-2518be250f8233f4ca49e51d96dc2159614b9516fef020f27642cf8bf4685aad>
>>>  online. 
>>> I have the following questions and would greatly appreciate it if someone 
>>> could help. 
>>>
>>> 1. Is the binary log fully implemented for all major programming 
>>> languages, like C#, C++, go, python, etc?
>>>
>>> 2. If yes, how can we customized it to support
>>> a. conditional logging, e..g, random sampling, or when the rpc request 
>>> contains certain values.
>>> b. redirect the logging to other collectors instead of a local file.
>>>
>>> Thanks,
>>> Xiaofeng
>>>
>>> -- 
>> 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 grpc-io+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/fc398e75-5d29-4a93-808d-9c50a7c145c2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/fc398e75-5d29-4a93-808d-9c50a7c145c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f7b72e52-4fa6-4a91-abf4-362051e5585an%40googlegroups.com.

Reply via email to