Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main Move Java examples in from sentry-java-examples repo. Jul 20, 2017

Sentry Log4j 1.x Example

This project can be compiled and run with Maven:

mvn compile exec:java

To report to an existing Sentry installation, set the SENTRY_DSN environment variable:

SENTRY_DSN=https://public:private@host:port/1 mvn exec:java

To use a specific Sentry version such a SNAPSHOT release, provide the sentry.version property to the Maven invocation:

mvn -Dsentry.version=1.0.0 exec:java
You can’t perform that action at this time.