[Gpr_To_Absl_Logging] Fix docs

pull/37011/head
tanvi-jagtap 7 months ago
parent 3575b8c8c5
commit 18bf235baf
  1. 2
      doc/environment_variables.md

@ -48,6 +48,7 @@ some configuration as environment variables that can be set.
* GRPC_VERBOSITY (DEPRECATED) * GRPC_VERBOSITY (DEPRECATED)
<!-- BEGIN_OPEN_SOURCE_DOCUMENTATION -->
`GRPC_VERBOSITY` is used to set the minimum level of log messages printed. Supported values are `DEBUG`, `INFO`, `ERROR` and `NONE`. `GRPC_VERBOSITY` is used to set the minimum level of log messages printed. Supported values are `DEBUG`, `INFO`, `ERROR` and `NONE`.
We only support this flag for legacy reasons. If this environment variable is set, then gRPC will set absl MinLogValue and absl SetVLogLevel. This will alter the log settings of the entire application, not just gRPC code. For that reason, it is not recommended. Our recommendation is to avoid using this flag and [set log verbosity using absl](https://abseil.io/docs/cpp/guides/logging). We only support this flag for legacy reasons. If this environment variable is set, then gRPC will set absl MinLogValue and absl SetVLogLevel. This will alter the log settings of the entire application, not just gRPC code. For that reason, it is not recommended. Our recommendation is to avoid using this flag and [set log verbosity using absl](https://abseil.io/docs/cpp/guides/logging).
@ -61,6 +62,7 @@ some configuration as environment variables that can be set.
- If the external application sets some other verbosity, then whatever is set later will be honoured. - If the external application sets some other verbosity, then whatever is set later will be honoured.
- If nothing is set as GRPC_VERBOSITY, then the setting of the exernal application will be honoured. - If nothing is set as GRPC_VERBOSITY, then the setting of the exernal application will be honoured.
- If nothing is set by the external application also, the default set by absl will be honoured. - If nothing is set by the external application also, the default set by absl will be honoured.
<!-- END_OPEN_SOURCE_DOCUMENTATION -->
* GRPC_STACKTRACE_MINLOGLEVEL (DEPRECATED) * GRPC_STACKTRACE_MINLOGLEVEL (DEPRECATED)
This will not work anymore. This will not work anymore.

Loading…
Cancel
Save