Skip to content

Error catcher for Java applications. Log4j logger included.

License

Notifications You must be signed in to change notification settings

lightoze/errbit-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Errbit Java notifier

Error catcher for Java applications. Log4j logger included.

To use with Maven:

<dependency>
    <groupId>net.lightoze.errbit</groupId>
    <artifactId>errbit-logger</artifactId>
    <version>2.3.1</version>
</dependency>

Then you can add this to your log4 configuration file:

<appender name="errbit" class="net.lightoze.errbit.Log4jErrbitAppender">
    <param name="url" value="http://errbit.example.com/notifier_api/v2/notices" />
    <param name="apiKey" value="<your-errbit-app-api-key>" />
    <param name="environment" value="<your-app-environment>" />
    <param name="threshold" value="error" />
</appender>

<root>
    <priority value ="warn" />
    <appender-ref ref="errbit" />
</root>

About

Error catcher for Java applications. Log4j logger included.

Resources

License

Stars

Watchers

Forks

Packages

No packages published