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.
- Host: GitHub
- URL: https://github.com/irvifa/dropwizard-logging-stackdriver
- Owner: irvifa
- License: apache-2.0
- Created: 2020-03-11T00:18:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T12:51:15.000Z (over 5 years ago)
- Last Synced: 2025-01-25T20:24:00.212Z (12 months ago)
- Topics: dropwizard, dropwizard-logging, google-cloud-platform, stackdriver, stackdriver-logs
- Language: Java
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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}"}
```