Skip to main content

Google Cloud Logging Integration

Project description

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]

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.googlecloudlogging-1.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page