io.redlink.ext.logback:logback-ext-sns-appender

Extensions for Logback logging library, forked from https://github.com/trautonen/logback-ext

License

License

Categories

Categories

Logback Application Layer Libs Logging
GroupId

GroupId

io.redlink.ext.logback
ArtifactId

ArtifactId

logback-ext-sns-appender
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Extensions for Logback logging library, forked from https://github.com/trautonen/logback-ext

Download logback-ext-sns-appender

How to add to project

<!-- https://jarcasting.com/artifacts/io.redlink.ext.logback/logback-ext-sns-appender/ -->
<dependency>
    <groupId>io.redlink.ext.logback</groupId>
    <artifactId>logback-ext-sns-appender</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.redlink.ext.logback/logback-ext-sns-appender/
implementation 'io.redlink.ext.logback:logback-ext-sns-appender:1.0.0'
// https://jarcasting.com/artifacts/io.redlink.ext.logback/logback-ext-sns-appender/
implementation ("io.redlink.ext.logback:logback-ext-sns-appender:1.0.0")
'io.redlink.ext.logback:logback-ext-sns-appender:jar:1.0.0'
<dependency org="io.redlink.ext.logback" name="logback-ext-sns-appender" rev="1.0.0">
  <artifact name="logback-ext-sns-appender" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.redlink.ext.logback', module='logback-ext-sns-appender', version='1.0.0')
)
libraryDependencies += "io.redlink.ext.logback" % "logback-ext-sns-appender" % "1.0.0"
[io.redlink.ext.logback/logback-ext-sns-appender "1.0.0"]

Dependencies

compile (6)

Group / Artifact Type Version
ch.qos.logback : logback-core jar 1.1.7
ch.qos.logback : logback-classic jar 1.1.7
io.redlink.ext.logback : logback-ext-core jar 1.0.0
io.redlink.ext.logback : logback-ext-aws-core jar 1.0.0
com.amazonaws : aws-java-sdk-core jar 1.10.2
com.amazonaws : aws-java-sdk-sns jar 1.10.2

Project Modules

There are no modules declared in this project.

Logback Extensions

Build Status Maven Central Sonatype (Snapshots) Javadocs 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.

This project was forked and repackaged from trautonen/logback-ext. The groupId has been renamed, but artifactId and source-packages are left intact.

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 configuration or Java API.

Modules

All modules belong to group io.redlink.ext.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.

io.redlink.ext.logback

Redlink GmbH

Versions

Version
1.0.0