Skip to content

dc-square/dropwizard-papertrail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropwizard Papertrail

Build Status

Addon for Dropwizard adding support for logging to Papertrail.

Important: This addon only supports sending data to papertrail over TLS. If you need insecure communication this plugin is not for you.

Usage

The Dropwizard Papertrail addon provides an AppenderFactory which is automatically registered in Dropwizard and will send log messages directly to Papertrail.

Configuration

A typical configuration looks like this

appenders:
  - type: console
  - type: papertrail
    host: XXXX.papertrailapp.com
    port: 22222
    ident: my-identifier
    # timezone: UTC
    # facility: USER
    # sendLocalName: true

Properties

  • host: The URL provided by papertrail where you should log to;
  • port: The port provided by papertrail where you should log to;
  • ident: The identifier of your application;
  • timezone: The timezone for logs. Defaults to UTC;
  • facility: The syslog facility. Defaults to USER;
  • sendLocalName: If the local name of the server should also be sent. Defaults to true ;

License

Copyright (c) 2014 dc-square GmbH

This library is licensed under the Apache License, Version 2.0.

See http://www.apache.org/licenses/LICENSE-2.0.html or the LICENSE file in this repository for the full license text.

About

A Dropwizard Plugin for Papertrail Cloud Logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages