logback appender for javabrake
Installation
Gradle:
compile 'io.airbrake:logback:0.1.1'
Maven:
<dependency>
<groupId>io.airbrake</groupId>
<artifactId>logback</artifactId>
<version>0.1.1</version>
</dependency>
Ivy:
<dependency org='io.airbrake' name='logback' rev='0.1.1'>
<artifact name='logback' ext='pom'></artifact>
</dependency>
Configuration
<configuration>
<appender name="Console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="Airbrake" class="io.airbrake.logback.AirbrakeAppender">
<projectId>12345</projectId>
<projectKey>FIXME</projectKey>
<env>production</env>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
</appender>
<root level="INFO">
<appender-ref ref="Console" />
<appender-ref ref="Airbrake" />
</root>
</configuration>