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 details)

Uploaded Source

File details

Details for the file collective.googlecloudlogging-1.0.tar.gz.

File metadata

  • Download URL: collective.googlecloudlogging-1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for collective.googlecloudlogging-1.0.tar.gz
Algorithm Hash digest
SHA256 2061c8592997237ee9b7e177a7224fcb04792c32a69ca74aeca9af43abcfbff3
MD5 4ef80ceebb7e756e726751ce92a2dc95
BLAKE2b-256 71d90ba1d03920601fb016410b04772a07ade1eeb1a78e90cebd1c4ac0a20089

See more details on using hashes here.

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