skillfed

google-cloud-logging

Google Cloud Logging API client library

google-cloud-logging Permissive license Apache-2.0 Active 5,370 v3.16.2 released

Install

google-cloud-logging on PyPI

pip

pip install google-cloud-logging

uv

uv add google-cloud-logging

poetry

poetry add google-cloud-logging

Package 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet

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:

  1. Select or create a Cloud Platform project._
  2. Enable billing for your project._
  3. Enable the Cloud Logging._
  4. 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.
google cloud logging python clientsend logs to gcpcloud logging api pythonstructured logging gcppython cloud logging integrationgcp log managementcloud logging configuration

Similar packages