[Gpr_To_Absl_Logging] Remove gpr logging header from src/core headers (#37512)

[Gpr_To_Absl_Logging] Remove gpr logging header from src/core headers.

Some of the cc files are using gpr_log_verbosity_init() functions.

So I removed the `#include <grpc/support/log.h>` from all headers and put it selectively only in the cc files that used  gpr_log_verbosity_init()

Closes #37512

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/37512 from tanvi-jagtap:remove_gpr_headers_from_headers a2f07f45d6
PiperOrigin-RevId: 664002265
pull/37523/head
Tanvi Jagtap 3 months ago committed by Copybara-Service
parent be419fd2ce
commit a22ea0beb6
  1. 2
      src/core/client_channel/client_channel_internal.h
  2. 1
      src/core/client_channel/config_selector.h
  3. 1
      src/core/client_channel/retry_filter.h
  4. 1
      src/core/ext/transport/chaotic_good/server_transport.h
  5. 1
      src/core/ext/transport/chttp2/transport/flow_control.h
  6. 1
      src/core/ext/transport/chttp2/transport/hpack_parse_result.h
  7. 1
      src/core/ext/transport/chttp2/transport/varint.h
  8. 1
      src/core/lib/channel/channel_stack.h
  9. 1
      src/core/lib/config/core_configuration.h
  10. 1
      src/core/lib/event_engine/ares_resolver.h
  11. 1
      src/core/lib/event_engine/forkable.h
  12. 1
      src/core/lib/event_engine/posix_engine/posix_endpoint.h
  13. 1
      src/core/lib/event_engine/posix_engine/tcp_socket_utils.h
  14. 1
      src/core/lib/gprpp/chunked_vector.h
  15. 1
      src/core/lib/gprpp/down_cast.h
  16. 1
      src/core/lib/gprpp/mpscq.h
  17. 1
      src/core/lib/gprpp/single_set_ptr.h
  18. 1
      src/core/lib/gprpp/sync.h
  19. 1
      src/core/lib/gprpp/thd.h
  20. 1
      src/core/lib/gprpp/time.h
  21. 1
      src/core/lib/iomgr/error.h
  22. 1
      src/core/lib/iomgr/exec_ctx.h
  23. 1
      src/core/lib/promise/activity.h
  24. 1
      src/core/lib/promise/context.h
  25. 1
      src/core/lib/promise/map_pipe.h
  26. 1
      src/core/lib/promise/mpsc.h
  27. 1
      src/core/lib/promise/poll.h
  28. 1
      src/core/lib/promise/promise_mutex.h
  29. 1
      src/core/lib/promise/status_flag.h
  30. 1
      src/core/lib/security/credentials/credentials.h
  31. 1
      src/core/lib/security/credentials/ssl/ssl_credentials.h
  32. 1
      src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h
  33. 1
      src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h
  34. 1
      src/core/lib/slice/slice.h
  35. 1
      src/core/lib/slice/slice_internal.h
  36. 1
      src/core/lib/surface/call_utils.h
  37. 1
      src/core/lib/surface/channel_init.h
  38. 1
      src/core/lib/surface/client_call.h
  39. 1
      src/core/lib/surface/filter_stack_call.h
  40. 1
      src/core/lib/surface/server_call.h
  41. 1
      src/core/lib/surface/validate_metadata.h
  42. 1
      src/core/lib/transport/call_spine.h
  43. 1
      src/core/lib/transport/metadata_batch.h
  44. 1
      src/core/lib/transport/promise_endpoint.h
  45. 1
      src/core/service_config/service_config_impl.h
  46. 1
      src/core/telemetry/metrics.h
  47. 1
      src/core/tsi/alts/handshaker/transport_security_common_api.h

@ -24,8 +24,6 @@
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include "src/core/lib/gprpp/down_cast.h"
#include "src/core/lib/gprpp/unique_type_name.h"
#include "src/core/lib/resource_quota/arena.h"

@ -29,7 +29,6 @@
#include "absl/strings/string_view.h"
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include "src/core/client_channel/client_channel_internal.h"
#include "src/core/lib/channel/channel_fwd.h"

@ -30,7 +30,6 @@
#include <grpc/event_engine/event_engine.h>
#include <grpc/grpc.h>
#include <grpc/impl/channel_arg_names.h>
#include <grpc/support/log.h>
#include "src/core/client_channel/client_channel_filter.h"
#include "src/core/client_channel/retry_service_config.h"

@ -42,7 +42,6 @@
#include <grpc/event_engine/memory_allocator.h>
#include <grpc/grpc.h>
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chaotic_good/chaotic_good_transport.h"

@ -32,7 +32,6 @@
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/http2_settings.h"

@ -27,7 +27,6 @@
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"

@ -24,7 +24,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
// Helpers for hpack varint encoding

@ -53,7 +53,6 @@
#include <grpc/grpc.h>
#include <grpc/slice.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>

@ -20,7 +20,6 @@
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/handshaker/handshaker_registry.h"

@ -37,7 +37,6 @@
#include "absl/types/variant.h"
#include <grpc/event_engine/event_engine.h>
#include <grpc/support/log.h>
#include "src/core/lib/event_engine/grpc_polled_fd.h"
#include "src/core/lib/event_engine/ref_counted_dns_resolver_interface.h"

@ -17,7 +17,6 @@
#include <memory>
#include <vector>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/debug/trace.h"

@ -38,7 +38,6 @@
#include <grpc/event_engine/memory_allocator.h>
#include <grpc/event_engine/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/event_engine/extensions/supports_fd.h"
#include "src/core/lib/event_engine/posix.h"

@ -27,7 +27,6 @@
#include <grpc/event_engine/event_engine.h>
#include <grpc/event_engine/memory_allocator.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/ref_counted_ptr.h"

@ -21,7 +21,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/manual_constructor.h"

@ -20,7 +20,6 @@
#include "absl/base/config.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -23,7 +23,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/sync.h"

@ -20,7 +20,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
namespace grpc_core {

@ -23,7 +23,6 @@
#include "absl/log/check.h"
#include "absl/synchronization/mutex.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/sync.h>

@ -29,7 +29,6 @@
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/thd_id.h>

@ -24,7 +24,6 @@
#include "absl/types/optional.h"
#include <grpc/event_engine/event_engine.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>

@ -27,7 +27,6 @@
#include <grpc/slice.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/time.h>

@ -33,7 +33,6 @@
#include <grpc/impl/grpc_types.h>
#include <grpc/support/atm.h>
#include <grpc/support/cpu.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/lib/gprpp/crash.h"

@ -29,7 +29,6 @@
#include "absl/strings/str_cat.h"
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/debug/trace.h"

@ -20,7 +20,6 @@
#include "absl/log/check.h"
#include "absl/meta/type_traits.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/down_cast.h"

@ -18,7 +18,6 @@
#include "absl/log/log.h"
#include "absl/status/status.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/promise/detail/promise_factory.h"

@ -26,7 +26,6 @@
#include "absl/base/thread_annotations.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/ref_counted.h"

@ -22,7 +22,6 @@
#include "absl/strings/str_format.h"
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/construct_destruct.h"

@ -19,7 +19,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/promise/activity.h"

@ -23,7 +23,6 @@
#include "absl/strings/str_cat.h"
#include "absl/types/optional.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/promise/detail/status.h"

@ -32,7 +32,6 @@
#include <grpc/grpc_security.h>
#include <grpc/grpc_security_constants.h>
#include <grpc/impl/grpc_types.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"

@ -26,7 +26,6 @@
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/grpc_security_constants.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"

@ -29,7 +29,6 @@
#include "absl/types/optional.h"
#include <grpc/grpc_security.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/sync.h>

@ -27,7 +27,6 @@
#include <grpc/credentials.h>
#include <grpc/grpc_security.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/ref_counted.h"

@ -27,7 +27,6 @@
#include <grpc/event_engine/internal/slice_cast.h>
#include <grpc/event_engine/slice.h>
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/debug_location.h"

@ -29,7 +29,6 @@
#include "absl/strings/string_view.h"
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/memory.h"

@ -43,7 +43,6 @@
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h>

@ -30,7 +30,6 @@
#include "absl/functional/any_invocable.h"
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"

@ -39,7 +39,6 @@
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h>

@ -41,7 +41,6 @@
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h>

@ -42,7 +42,6 @@
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h>

@ -27,7 +27,6 @@
#include "absl/strings/string_view.h"
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/error.h"

@ -17,7 +17,6 @@
#include "absl/log/check.h"
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/dual_ref_counted.h"

@ -36,7 +36,6 @@
#include <grpc/impl/compression_types.h>
#include <grpc/status.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/compression/compression_internal.h"

@ -34,7 +34,6 @@
#include <grpc/event_engine/slice.h>
#include <grpc/event_engine/slice_buffer.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/event_engine/extensions/chaotic_good_extension.h"

@ -29,7 +29,6 @@
#include "absl/strings/string_view.h"
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channel_args.h"

@ -25,7 +25,6 @@
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include <grpc/support/log.h>
#include <grpc/support/metrics.h>
#include <grpc/support/port_platform.h>

@ -22,7 +22,6 @@
#include <grpc/slice.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/crash.h"

Loading…
Cancel
Save