You are not logged in.

#1 2024-07-26 05:42:58

aweb
Member
Registered: 2010-12-18
Posts: 25

bear drowns make output in tons of "gRPC experiments enabled" messages

I use bear to generate a `compile_commands.json` file when I'm compiling.  Unfortunately, when I do this on arch linux, I get tons and tons of messages like:

```
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1721972323.773077 1015813 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache
I0000 00:00:1721972323.773405 1015813 server_builder.cc:392] Synchronous server. Num CQs: 1, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10000
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1721972323.803625 1015835 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache
```

It looks like some sort of absl or gRPC debugging output, but it makes it very hard to find the error messages in my compilation, because there's so much output.  Is there some way to disable this output?

Thanks.

Offline

#2 2024-07-26 09:59:57

scarlet
Member
Registered: 2024-06-07
Posts: 19

Re: bear drowns make output in tons of "gRPC experiments enabled" messages

The problem occurred to me just now !  I also ran into hundreds of warning like this.
I will not run into the problem when I do not use bear.

Offline

#3 2024-07-26 10:05:32

scarlet
Member
Registered: 2024-06-07
Posts: 19

Re: bear drowns make output in tons of "gRPC experiments enabled" messages

However, I think it is due to upstream, see https://github.com/grpc/grpc/issues/37178.
It is owing to grpc;however the problem hasn't been fixed.

Offline

#4 2024-10-09 11:17:38

Freed
Member
From: China
Registered: 2020-02-01
Posts: 59
Website

Re: bear drowns make output in tons of "gRPC experiments enabled" messages

Before upstream is fixed, try

export GRPC_VERBOSITY=ERROR

An adherent of hacker culture and open source.

Offline

Board footer

Powered by FluxBB