Git Product home page Git Product logo

logback-more-appenders's Introduction

Logback more appenders

is appenders for Logback. You can logging to DynamoDB, Fluentd and more with the logback appender.

Appenders

Installing

###Install jars from Maven2 repository Configure your pom.xml:

<dependencies>

  <dependency>
	<groupId>ch.qos.logback</groupId>
	<artifactId>logback-classic</artifactId>
	<version>${logback.version}</version>
  </dependency>

  <!-- If you use fluentd appender -->
  <dependency>
	<groupId>org.fluentd</groupId>
	<artifactId>fluent-logger</artifactId>
	<version>${fluentd.logger.version}</version>
  </dependency>

  <!-- If you use Amazon DynamoDB appender -->
  <dependency>
	<groupId>com.amazonaws</groupId>
	<artifactId>aws-java-sdk</artifactId>
	<version>${aws.version}</version>
  </dependency>

  <dependency>
    <groupId>com.sndyuk</groupId>
    <artifactId>logback-more-appenders</artifactId>
    <version>1.1.0</version>
  </dependency>

</dependencies>

<repositories>
  <repository>
    <id>com.sndyuk</id>
    <name>Logback more appenders</name>
    <url>http://sndyuk.github.com/maven</url>
  </repository>
</repositories>

Configure your logback.xml

You can find configuration files here:

Creating Amazon DynamoDB Table

If you use Amazon DynamoDB appender, You have to create table on DynamoDB:

AWS Console -> DynamoDB -> Choose region -> Create Table ->

Table Name: [Table name described logback.xml]
Primary Key: Hash and Range
Hash Attribute Name: String - "instance"
Range Attribute Name: Number - "id"

License

MIT LICENSE

logback-more-appenders's People

Contributors

ceefour avatar sndyuk avatar

Watchers

 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.