Migration to Abseil logging?

25 views
Skip to first unread message

Tobias Krueger

unread,
Jun 23, 2026, 10:14:11 AM (10 days ago) Jun 23
to grpc.io
Hi everyone,

I am trying to migrate my legacy logging to Abseil but I am not able find matching solution. 
With gRPC 1.46 I used the pretty simple initialization of my callback function like this and was happy what infos popped up.

gpr_set_log_function(&GprLogFunction);
gpr_set_log_verbosity(GPR_LOG_SEVERITY_INFO);


I have now tried all kinds of variations to initialize Abseil logging to get a similar output.
But either I get nothing or my console is spammed completely. 
Any hint how to setup abseil's logging correctly to receive the same amount of info to the

absl::LogSink::Send

callback

Big thanks!
Tobias
Reply all
Reply to author
Forward
0 new messages