mwvgroup / pittgoogle-client

Client for the Pitt-Google alert broker
https://mwvgroup.github.io/pittgoogle-client/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Logging is too noisy in some cases #65

Open troyraen opened 1 month ago

troyraen commented 1 month ago

The logging is being extra noisy in some cases. So far this only includes messages from the underlying Google API. Note this line in particular:

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR

Screenshot 2024-07-19 at 12 56 14 PM

This was reported by @hernandezc1.

troyraen commented 1 month ago

This may be a gRPC issue. https://github.com/grpc/grpc/issues/33281 may be related and/or have useful suggestions.

troyraen commented 1 month ago

@hernandezc1 will you post the versions of all Google and gRPC libraries you have in the environment that causes this? One way to get this is a combination of pip freeze and grep. Here's what I get:

(base) Pivert:~ troyraen$ conda activate pgdev311
(pgdev311) Pivert:~ troyraen$ pip freeze | grep -i -e google -e grpc
google-api-core==2.19.1
google-auth==2.30.0
google-auth-oauthlib==1.2.0
google-cloud-appengine-logging==1.4.4
google-cloud-audit-log==0.2.5
google-cloud-bigquery==3.25.0
google-cloud-core==2.4.1
google-cloud-logging==3.10.0
google-cloud-pubsub==2.21.5
google-cloud-storage==2.17.0
google-crc32c==1.5.0
google-resumable-media==2.7.1
googleapis-common-protos==1.63.2
grpc-google-iam-v1==0.13.1
grpcio==1.64.1
grpcio-status==1.62.2
-e git+https://github.com/mwvgroup/pittgoogle-client.git@dac6445e356f2170279b66ee1796d6d9d6fcd095#egg=pittgoogle_client

So far, I am unable to reproduce the issue.

hernandezc1 commented 1 month ago

Hi @troyraen, here's the results that we went over today:

(base) pitt-googlebroker@Christophers-MacBook-Pro-3 ~ % conda activate pittgoogle
(pittgoogle) pitt-googlebroker@Christophers-MacBook-Pro-3 ~ % pip freeze | grep -i -e google -e grpc
google-api-core==2.19.1
google-auth==2.32.0
google-auth-oauthlib==1.2.1
google-cloud-bigquery==3.25.0
google-cloud-core==2.4.1
google-cloud-pubsub==2.22.0
google-crc32c==1.5.0
google-resumable-media==2.7.1
googleapis-common-protos==1.63.2
grpc-google-iam-v1==0.13.1
grpcio==1.65.1
grpcio-status==1.65.1
pittgoogle-client==0.3.10