Raven-Java for Logback

Logback appender allowing to send logs to the Raven-Java client.

License

License

Categories

Categories

Logback Application Layer Libs Logging
GroupId

GroupId

com.getsentry.raven
ArtifactId

ArtifactId

raven-logback
Last Version

Last Version

8.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Raven-Java for Logback
Logback appender allowing to send logs to the Raven-Java client.

Download raven-logback

How to add to project

<!-- https://jarcasting.com/artifacts/com.getsentry.raven/raven-logback/ -->
<dependency>
    <groupId>com.getsentry.raven</groupId>
    <artifactId>raven-logback</artifactId>
    <version>8.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.getsentry.raven/raven-logback/
implementation 'com.getsentry.raven:raven-logback:8.0.3'
// https://jarcasting.com/artifacts/com.getsentry.raven/raven-logback/
implementation ("com.getsentry.raven:raven-logback:8.0.3")
'com.getsentry.raven:raven-logback:jar:8.0.3'
<dependency org="com.getsentry.raven" name="raven-logback" rev="8.0.3">
  <artifact name="raven-logback" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.getsentry.raven', module='raven-logback', version='8.0.3')
)
libraryDependencies += "com.getsentry.raven" % "raven-logback" % "8.0.3"
[com.getsentry.raven/raven-logback "8.0.3"]

Dependencies

compile (4)

Group / Artifact Type Version
com.getsentry.raven : raven jar 8.0.3
org.slf4j : slf4j-api jar 1.7.24
ch.qos.logback : logback-core jar 1.2.1
ch.qos.logback : logback-classic jar 1.2.1

test (9)

Group / Artifact Type Version
org.jmockit : jmockit jar 1.14
org.testng : testng jar 6.9.10
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3
junit : junit jar 4.12
com.github.tomakehurst : wiremock-standalone jar 2.5.1
com.getsentry.raven : raven test-jar 8.0.3
com.fasterxml.jackson.core : jackson-databind jar 2.8.7
com.fasterxml.jackson.core : jackson-annotations jar 2.8.7

Project Modules

There are no modules declared in this project.


Sentry SDK for Java and Android

AppVeyor GH Workflow Tests codecov

Packages Bintray Maven Central Android API
sentry-android sentry-android Maven Central 16
sentry-android-core sentry-android-core Maven Central 14
sentry-android-ndk sentry-android-ndk Maven Central 16
sentry-android-timber sentry-android-timber Maven Central 14
sentry sentry Maven Central 14
sentry-servlet sentry-servlet Maven Central
sentry-spring-boot-starter sentry-spring-boot-starter Maven Central
sentry-spring sentry-spring Maven Central
sentry-logback sentry-logback Maven Central
sentry-log4j2 sentry-log4j2 Maven Central

Java SDK 3.0 Docs

The Java SDK documentation can be found on docs.sentry.io.

Java SDK version 1.x can still be found here.

Javadocs generated from source code.

Android Docs

That's the initial page of the release 2.x and its docs.

Releases from sentry-android 2.x and its changelogs.

Migration page from sentry-android 1.x and 2.x to sentry-android 3.x.

Sentry Android Gradle Plugin repo sits on another repo

Blog posts

New Android SDK How-to.

Adding Native support to our Android SDK.

Samples

Sample App. with Sentry Android SDK and Sentry Gradle Plugin.

Sample for Development.

Development

This repository includes sentry-native as a git submodule. To build against sentry-native checked-out elsewhere in your file system, create a symlink sentry-android-ndk/sentry-native-local that points to your sentry-native directory. For example, if you had sentry-native checked-out in a sibling directory to this repo:

ln -s ../../sentry-native sentry-android-ndk/sentry-native-local

which will be picked up by gradle and used instead of the git submodule. This directory is also included in .gitignore not to be shown as pending changes.

Android: Note on multiple crash reporting SDKs

Installing multiple crash reporting SDKs isn't supported. They race each other on taking the signal handler (for native crashes) and it often results in only 1 of the SDKs capturing the error. This is also due to the limitations of what can run there (like allocating memory etc) and how long the app lives. This limitation also affects the Java layer, given that the operating system will kill the app before more than one SDK is able to process the crash and save the error to storage.

Sentry Self Hosted Compatibility

Since version 3.0.0 of this SDK, Sentry version >= v20.6.0 is required. This only applies to on-premise Sentry, if you are using sentry.io no action is needed.

Resources

  • Java Documentation
  • Android Documentation
  • Forum
  • Discord
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow
com.getsentry.raven

Sentry

Real-time crash reporting for your web apps, mobile apps, and games.

Versions

Version
8.0.3
8.0.2
8.0.1
8.0.0
7.8.6
7.8.5
7.8.4
7.8.3
7.8.2
7.8.1
7.8.0
7.7.1
7.7.0
7.6.0
7.5.0
7.4.0
7.3.0
7.2.3
7.2.2
7.2.1
7.2.0
7.1.0
7.0.0