Sends all log entries to Google Cloud Logging.

All logs data are queued and sync with google cloud on cron execution.

Installation

Download this module as usual :

composer require drupal/google_cloud_logging

enable it trough drush or from the UI

drush en google_cloud_logging

Two environment variables need to be set for the logger to work:

- GOOGLE_APPLICATION_CREDENTIALS : Relative path from Drupal root to JSON file containing authentication credentials (e.g. : ../files/my-project-5115.json)
- GOOGLE_CLOUD_PROJECT : Google Cloud Project name (e.g. : my-gcp-project-5115)

Project information

Releases