Help with setup of release tracking on java


I haven’t been able to find any information on how to setup release tracking for javabased systems.
I’m using logback from a spring-boot application


<appender name="SENTRY" class="net.kencochrane.raven.logback.SentryAppender">
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">

Do anyone here know what I'm doing wrong?

Thanks for your help!
1 Like

There are a few different ways to go about this, as of version 7.7.0. (You’ll also want to note that version 7 changes the package namespace and Maven group to com.getsentry.) You can either set an environment variable (SENTRY_RELEASE), a Java System Property (system.release), or specify in a <release> tag in your appender declaration in your logback.xml.

You can find more detailed documentation on all of these different options in the raven-logback README.

1 Like

Thank you so much for your help!

I noticed now when you told me that I had the wrong dependency for raven, so that explains why I couldn’t find any mention of release or anything else related :slight_smile:

Thanks again!