An open API service indexing awesome lists of open source software.

https://github.com/irvifa/dropwizard-logging-stackdriver

Dropwizard log formatter for GCP Stackdriver.
https://github.com/irvifa/dropwizard-logging-stackdriver

dropwizard dropwizard-logging google-cloud-platform stackdriver stackdriver-logs

Last synced: 10 months ago
JSON representation

Dropwizard log formatter for GCP Stackdriver.

Awesome Lists containing this project

README

          

# dropwizard-logging-stackdriver

## Configuration Example

```aidl
logging:
appenders:
- type: console
layout:
type: json-stackdriver
```

## Example log

[LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) will parse
the `SEVERITY` filter based on `severity` mentioned in the log json payload.

```aidl
{"severity":"INFO","message":"INFO [2020-04-20 01:40:41.127] main - org.eclipse.jetty.server.handler.ContextHandler: Started i.d.j.MutableServletContextHandler@726a8729{/,null,AVAILABLE}"}
```