-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How are ABSL_RAW_LOG verbosity levels set? #1069
Comments
There is no control for The only cause that I'm aware of is someone calling |
It looks like the logging is enabled if either:
If these logs were being emitted via path 1, I'd expect the string passed into I can't quite make out the logic for how |
We don't believe this is an issue on our side and and cannot investigate further without reproduction instructions. |
We have more customers experiencing this verbose logging: googleapis/python-pubsub#540 |
I'm not aware of any way for a well-behaved program to accidentally turn on the debug logging. Two possible explanations come to mind.
Since all reports seem to be coming from programs wrapping C++ into another language, I would look into (2). |
Thanks @derekmauro |
Several users of the Cloud Pub/Sub Python GRPC library have reported huge spikes in logging. See here for more details.
The logs are coming from this line in mutex.cc. Which env variable or command line flag controls whether this line, which emits raw INFO logs, actually prints strings to stdout/stderr? How is it possible for the logs to be turned on without the users' knowledge? AFAIK, both env vars and cmd line flags are set at program start up. Is it possible for the verbosity level to change after the fact?
I'm waiting for the user to respond with the program's env vars and cmd flags. I hope that'll shed some light on the matter.
The text was updated successfully, but these errors were encountered: