Skip to content

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log - #36579

Closed
tanvi-jagtap wants to merge 1 commit into
grpc:masterfrom
tanvi-jagtap:actual_all_build_changes_tjagtap
Closed

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log#36579
tanvi-jagtap wants to merge 1 commit into
grpc:masterfrom
tanvi-jagtap:actual_all_build_changes_tjagtap

Conversation

@tanvi-jagtap

Copy link
Copy Markdown
Collaborator

[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log
In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.
We have the following mapping

  1. gpr_log(GPR_INFO,...) -> LOG(INFO)
  2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
  3. gpr_log(GPR_DEBUG,...) -> VLOG(2)
    Reviewers need to check :
  4. If the above mapping is correct.
  5. The content of the log is as before.
    gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.

@tanvi-jagtap tanvi-jagtap added the release notes: no Indicates if PR should not be in release notes label May 10, 2024
@tanvi-jagtap
tanvi-jagtap marked this pull request as ready for review May 10, 2024 08:37
@tanvi-jagtap
tanvi-jagtap requested a review from sastryvp May 10, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants