Code Monkey home page Code Monkey logo

logback-ext's Introduction

This is a fork of https://github.com/trautonen/logback-ext with the group id changed to benetech.org to help us untangle our dependencies.

Logback Extensions

License

Extensions for Logback logging library mainly for appenders aimed for Amazon Web Services, including CloudWatch Logs, DynamoDB, Kinesis, SNS and SQS appenders. Contains also high performance asynchronous appender based on LMAX disrupotr and some utilities like Jackson JSON encoder.

Using Logback Extensions

Logback Extensions requires Java 7 or newer. Include desired modules in your project's dependency management and configure the appenders or encoders using Logback's XML configutation or Java API.

Modules

All modules belong to group org.eluder.logback. See each module for specific documentation.

AWS Authentication

All AWS based appenders require IAM authentication. The default credentials provider from org.eluder.logback.ext.aws.core.AwsSupport creates a credential chain in the following order.

  1. Environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  2. System properties aws.accessKeyId and aws.secretKey
  3. Appender configuration properties accessKey and secretKey
  4. AWS profile configuration file ~/.aws/credentials
  5. EC2 instance role

Best practice for EC2 instances is to use instance role only. With instance role no access keys or secret keys are exposed if the server is compromised.

Continuous Integration

TravisCI builds the project with Oracle JDK 7 and 8. Builds created with Oracle JDK 7 are deployed to Sonatype OSSRH.

logback-ext's People

Contributors

trautonen avatar treidel avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.