Skip to content

trautonen/logback-ext

Repository files navigation

Logback Extensions

Build Status 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.

About

Extensions for Logback logging library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages