Skip to main content

This library connects to Python’s standard logging module and will log to Googles Cloud Logging via API. More information at https://cloud.google.com/logging/docs/setup/python#connecting_the_library_to_python_logging

Configuration

  • Within Google Cloud no extra configuration should be needed.

  • If you want to use the Cloud Logging outside of Google Cloud, you have to supply your Google Cloud project ID and appropriate service account credentials.

Note

As soon as it’s loaded, and only then, it will remove the StreamHandler from root logger and no longer write to stdout. If you want no instance logging to stdout at all in your Google Cloud Logs, you have to disable it in your wsgi.ini:

[logger_root]
level = INFO
handlers = console, eventlog

Requirements

  • Plone 5.2

  • Python 3.7

Installation

Install collective.googlecloudlogging by adding it to your buildout:

[buildout]

...

eggs =
    collective.googlecloudlogging

and then running bin/buildout

Maintainers

  • Peter Holzer

Contact: dev@bluedynamics.com

Contribute

License

The project is licensed under the GPLv2.

Contributors

  • Peter Holzer

  • Erico Andrei

Changelog

1.0 (2021-08-05)

  • Initial release. [agitator]

Release files for collective.googlecloudlogging 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.googlecloudlogging 1.0
File Size Uploaded
collective.googlecloudlogging-1.0.tar.gz 8.1 kB Details

Release files / collective.googlecloudlogging-1.0.tar.gz

Download URL collective.googlecloudlogging-1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2061c8592997237ee9b7e177a7224fcb04792c32a69ca74aeca9af43abcfbff3
BLAKE2b-256 checksum
How to use checksums
71d90ba1d03920601fb016410b04772a07ade1eeb1a78e90cebd1c4ac0a20089
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page