Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Latest commit

 

History

History

log4j-2.x

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sentry Log4j 2.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