Dropwizard Logging GELF
A log appender factory for Dropwizard adding support for appending logs to GELF compatible servers.
dropwizard-logging-gelf can be found in maven central.
Installation
<dependency>
<groupId>com.jamierf.dropwizard</groupId>
<artifactId>dropwizard-logging-gelf</artifactId>
<version>...</version>
</dependency>
Configuration
logging:
appenders:
- type: gelf
server: localhost:9200
defaultFields: {"host": "local-host-01", "environment": "local", "facility": "ims"}
additionalFields: {"ms": "timestampMs", "thread_name": "threadName", "source_method_name": "SourceMethodName", "threadId": "threadId"}
License
Released under the Apache 2.0 License.