No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
CHANGELOG.txt
README.md
pom.xml

README.md

Airbrake (was Hoptoad) Notifier for Logback

A fork of AMEE / hoptoad-java-notifier which is a fork of Luca Marrocco's hoptoad notifier.

Licensed under the Apache License, Version 2.0.

Code Changes

  • Modified to work with Logback instead of log4j.

Example Airbrake Appender logback.xml

<appender name="AIRBRAKE" class="hoptoad.HoptoadAppender">
    <apiKey>YOUR_API_KEY_HERE</apiKey>
    <env>production</env>
    <enabled>true</enabled>
    <endpoint>airbrake.io/notifier_api/v2/notices</endpoint>
    <secure>false</secure>

    <!-- deny all events with a level below ERROR, that is TRACE, DEBUG, INFO -->
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
        <level>ERROR</level>
    </filter>
</appender>

Note: endpoint and secure params are shown with default values and may be omitted.