Skip to content

Commit

Permalink
ID-361 Remove duplicate sentry issue capture.
Browse files Browse the repository at this point in the history
* ID-361 Remove duplicate sentry issue capture.
  • Loading branch information
Ghost-in-a-Jar authored Mar 3, 2023
1 parent f5300fe commit fee9fac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,25 @@
<suffixPattern>[%level] [%d{HH:mm:ss.SSS}] [%thread] %logger{36} - %msg%n</suffixPattern>
</appender>

<!-- Configure the Sentry appender, overriding the logging threshold to the WARN level -->
<appender name="Sentry" class="com.getsentry.raven.logback.SentryAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
</appender>

<logger name="org.broadinstitute.dsde" level="info" additivity="false">
<appender-ref ref="file"/>
<appender-ref ref="console"/>
<appender-ref ref="SYSLOG"/>
<appender-ref ref="Sentry"/>
</logger>

<logger name="akka" level="info" additivity="false">
<appender-ref ref="file"/>
<appender-ref ref="console"/>
<appender-ref ref="SYSLOG"/>
<appender-ref ref="Sentry"/>
</logger>

<!-- see https://github.com/slick/slick/blob/master/common-test-resources/logback.xml for more Slick logging -->
Expand All @@ -61,6 +70,7 @@
<appender-ref ref="file"/>
<appender-ref ref="console"/>
<appender-ref ref="SYSLOG"/>
<appender-ref ref="Sentry"/>
</root>

</configuration>
Expand Down

0 comments on commit fee9fac

Please sign in to comment.