Raven-Java for log4j

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

License

License

Categories

Categories

Net
GroupId

GroupId

net.kencochrane.raven
ArtifactId

ArtifactId

raven-log4j
Last Version

Last Version

6.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Download raven-log4j

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
net.kencochrane.raven : raven jar 6.0.0
log4j : log4j jar 1.2.17
com.google.guava : guava jar 18.0

test (8)

Group / Artifact Type Version
org.jmockit : jmockit jar 1.14
org.testng : testng jar 6.8.13
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3
net.kencochrane.raven : raven test-jar 6.0.0
com.fasterxml.jackson.core : jackson-databind jar 2.5.0
org.slf4j : slf4j-log4j12 jar 1.7.9
org.slf4j : slf4j-api jar 1.7.9

Project Modules

There are no modules declared in this project.


Sentry SDK for Java and Android

GH Workflow 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
net.kencochrane.raven

Sentry

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

Versions

Version
6.0.0
5.0.2
5.0.1
5.0
4.2.2
4.2.1
4.2
4.1.2
4.1.1
4.1
4.0
3.1.2
3.1.1
3.1
3.0
2.0