Skip to content

gorillalabs/logback-riemann-appender

 
 

Repository files navigation

logback-riemann-appender Build Status

Forked from: https://github.com/walmartlabs/logback-riemann-appender

Logback appender for Riemann

Usage

Artifacts are available through clojars which you can add to your maven repository like so:

<repository>
  <id>clojars.org</id>
  <url>http://clojars.org/repo</url>
</repository>

See resources/logback.xml for a full example configuration.

<configuration scan="true">
  <appender name="R1" class="org.gorillalabs.logback.RiemannAppender">
    <serviceName>Test Service</serviceName>
    <riemannHostname>127.0.0.1</riemannHostname>
    <riemannPort>5555</riemannPort>
    <hostname>graphene</hostname>
    <customAttributes>application:test-service,datacenter:us-sw</customAttributes>
	<riemannLogLevel>WARN</riemannLogLevel>
  </appender>
  <root level="DEBUG">
    <appender-ref ref="R1"/>
  </root>
</configuration>

License

Copyright © 2013 Kyle Burton

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.