ymotongpoo / cloud-logging-configurations

A collection of configurations of popular client libraries for Cloud Logging setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloud-logging-configurations

A collection of configurations of popular logging libraries for Cloud Logging setup

Objective

The aim of this repository is to collect samples to configure popular logging libraries to output JSON formatted structured logs eligible for Google Cloud Logging.

In order for Google Cloud Logging to recognize JSON formatted structure logs properly, there are a couple of conditions:

  • Logs are output to stdout
  • Some field names are set correctly (eg. severity, message)

These conditions does not match the default configrations of popular logging libraries, sometimes developers need to find out complex work around to make logs Google Cloud Logging aware. To visualize those efforts all in one place, this repository is created for its experimental purpose.

Libraries

This repository contains the samples of logging libraries to be Google Cloud Logging aware in variety of languages.

About

A collection of configurations of popular client libraries for Cloud Logging setup

License:Apache License 2.0


Languages

Language:Java 28.3%Language:Python 19.4%Language:Dockerfile 17.8%Language:Go 15.1%Language:JavaScript 14.7%Language:PHP 4.7%