Skip to content
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

GOOGLE_LOG - where is the log to inspect protobuf errors etc. #5641

Closed
hesingh opened this issue Jan 27, 2019 · 2 comments
Closed

GOOGLE_LOG - where is the log to inspect protobuf errors etc. #5641

hesingh opened this issue Jan 27, 2019 · 2 comments

Comments

@hesingh
Copy link

hesingh commented Jan 27, 2019

In protobuf/src/google/protobuf/text_format..cc on line 299, I see a GOOGLE_LOG used.

I am using protobuf with c++ on Ubuntu 18.04.

In several gdb debugging tries, once I could see this message in my debugging. By, default, where are these messages going so that I could see all GOOGLE_LOG messages?

I am using a P4Runtime application that uses gRPC and protobuf.

@acozzette
Copy link
Member

The default log handler just sends messages to stderr, but you might need to check that GOOGLE_PROTOBUF_MIN_LOG_LEVEL was set to an appropriate level (should be set to LOGLEVEL_INFO if you want to see all log messages.)

@hesingh
Copy link
Author

hesingh commented Jan 28, 2019

Thanks much!

@hesingh hesingh closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants