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

Use log severity and verbosity level #1340

Merged
merged 9 commits into from
Jul 13, 2017
Merged

Conversation

menghanl
Copy link
Contributor

@menghanl menghanl commented Jun 28, 2017

  1. All logs use 1 severity level instead of printf
  2. All transport logs only go to verbose level 2+
  3. The default logger only log errors and verbosity level 1
  4. Add environment variable GRPC_GO_LOG_SEVERITY_LEVEL and GRPC_GO_LOG_VERBOSITY_LEVEL to set severity or verbosity levels for the default logger

fixes #120
fixes #1044
fixes #1052
fixes #954
fixes #1059

@menghanl menghanl merged commit d672391 into grpc:master Jul 13, 2017
@menghanl menghanl deleted the use_log_severity branch July 13, 2017 19:10
@Bankq
Copy link

Bankq commented Jul 13, 2017

thanks @menghanl !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.