Skip to content

WriskHQ/logback-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logback Extensions

This is a fork of https://github.com/trautonen/logback-ext

Build Status Maven Central 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 8 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

CircleCI builds the project with Oracle JDK 8. Builds are deployed to Sonatype OSSRH.

About

Extensions for Logback logging library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%