Created
June 16, 2015 21:45
-
-
Save Lugribossk/7ebf061f1d915549b5af to your computer and use it in GitHub Desktop.
Dropwizard logging with Papertrail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
requestLog: | |
appenders: | |
- type: console | |
- type: syslog | |
host: logsX.papertrailapp.com | |
port: X | |
facility: user | |
# Format recommended on http://help.papertrailapp.com/kb/configuration/java-logback-logging/ | |
logFormat: "%thread: %-5level %logger{36} - %msg%n" | |
logging: | |
appenders: | |
- type: console | |
- type: syslog | |
host: logsX.papertrailapp.com | |
port: X | |
facility: user | |
logFormat: "%thread: %-5level %logger{36} - %msg%n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment