Skip to content

Commit

Permalink
Merge pull request #47 from Central-MakeUs/feature/sentry
Browse files Browse the repository at this point in the history
chore: logback.xml에 Sentry Appender 추가
  • Loading branch information
leeeeeyeon authored Jan 19, 2024
2 parents f7168cd + af7c64e commit e8426a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packy-api/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,19 @@
</filter>
</appender>

<appender name="Sentry" class="io.sentry.logback.SentryAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
<encoder>
<pattern>${CONSOLE_LOG_PATTERN}</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="Console"/>
<appender-ref ref="ASYNC_SLACK"/>
<appender-ref ref="Sentry"/>
</root>
</springProfile>
</configuration>

0 comments on commit e8426a3

Please sign in to comment.