gRPC vs HTTP
Stay organized with collections
Save and categorize content based on your preferences.
google-cloud-logging supports two different protocols for sending logs over the network:
gRPC and HTTP. Both implementations conform to the same API, and should be
invisible to the end user.
gRPC is enabled by default. You can switch to HTTP mode by either:
setting the DISABLE_GRPC environment variable to TRUE
or, passing _use_grpc=False when initializing a Client
We recommend using gRPC whenever possible, but you may want to try the HTTP
implementation if you have network issues when using gRPC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-31 UTC."],[],[]]