This project provides integration of logentries log appender to dropwizard framework, so it can be referenced in dropwizard's configuration YML.
Project lombok was used to auto-generate the getter and setters, so you will need to have lombok plugin installed in your eclipse/intellij if you want to import the source code.
This library currently supports dropwizard version 0.9.2.
This library is available at central maven, so you only need to add this to your dependencies:
<dependencies>
<dependency>
<groupId>com.github.mtakaki</groupId>
<artifactId>logentries-appender</artifactId>
<version>0.0.3</version>
</dependency>
</dependencies>Without data hub:
logging:
level: INFO
appenders:
- type: logentries
threshold: WARN
token: your_token_hereIf data hub is used:
logging:
level: INFO
appenders:
- type: logentries
threshold: WARN
token: your_token_here
useDataHub: true
dataHubAddress: your_datahub_address
dataHubPort: datahub_port