google-cloud-logging
Google Cloud Logging API client library
Install
google-cloud-logging on PyPI
pip
pip install google-cloud-logginguv
uv add google-cloud-loggingpoetry
poetry add google-cloud-loggingPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — google-api-core, google-auth, google-cloud-appengine-logging, google-cloud-audit-log, google-cloud-core, grpc-google-iam-v1, opentelemetry-api, grpcio, proto-plus, protobuf |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: google_cloud_logging-3.16.2-py3-none-any.whl
About google-cloud-logging
from the package's own PyPI description — quoted content, verbatim
Python Client for Cloud Logging
|stable| |pypi| |versions|
Cloud Logging_: Writes log entries and manages your Cloud Logging configuration.
Client Library Documentation_Product Documentation_
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels .. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-logging.svg :target: https://pypi.org/project/google-cloud-logging/ .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg :target: https://pypi.org/project/google-cloud-logging/ .. _Cloud Logging: https://cloud.google.com/logging/ .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/logging/latest/summary_overview .. _Product Documentation: https://cloud.google.com/logging/
Quick Start
In order to use this library, you first need to go through the following steps:
Select or create a Cloud Platform project._Enable billing for your project._Enable the Cloud Logging._Set up Authentication._
.. _Select or create a...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Writes log entries to Google Cloud Logging and manages Cloud Logging configuration from Python applications. Integrates with standard Python logging to send structured logs to Google Cloud Platform.
Low install friction with a pure-wheel distribution. Active maintenance—released 7 days ago with a commit history through 2026-08-13. Requires Python ≥3.10 and depends on 10 runtime packages including google-api-core, google-auth, and protobuf, all standard Google Cloud ecosystem libraries.
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions. Suitable for proprietary and open-source projects alike.
Usage
pip install google-cloud-logging
from google.cloud import logging as cloud_logging
client = cloud_logging.Client()
logger = client.logger('my-logger')
logger.log_struct({'message': 'Hello, Cloud Logging!'})
Requires Google Cloud Platform credentials (via Application Default Credentials, service account key, or environment configuration) and an active GCP project with Cloud Logging enabled.
Verdict: Production-ready, actively maintained Google Cloud client library with no known vulnerabilities. Low install friction, permissive licensing, and broad Python version support (3.10–3.14) make it a solid choice for applications that need to send logs to GCP. The 10-package dependency tree is typical for Google Cloud clients and poses no unusual risk.
Needs verification
- Whether the package's OpenTelemetry integration (opentelemetry-api dependency) is fully functional or still experimental.
- Performance characteristics and throughput limits when logging at scale in production environments.
Similar packages
permissive · top 1,000 on PyPI
google-cloud-pubsubpermissive · top 1,000 on PyPI
google-cloud-workflowspermissive · top 1,000 on PyPI
google-cloud-appengine-loggingpermissive · top 1,000 on PyPI
google-cloud-buildpermissive · top 1,000 on PyPI
google-cloud-orchestration-airflowpermissive · top 1,000 on PyPI
google-cloud-resource-managerpermissive · top 1,000 on PyPI
google-cloud-redispermissive · top 1,000 on PyPI
google-cloud-kmspermissive · top 1,000 on PyPI
googleapis-common-protospermissive · top 100 on PyPI