Commit 71ddc295 by 丁伟峰

logback与sentry结合

1 parent ce8d8ff5
Showing with 16 additions and 0 deletions
<configuration>
<!-- 其他 Logback 配置 -->
<appender name="SENTRY" class="io.sentry.logback.SentryAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
</filter>
<!-- 配置 Sentry DSN -->
<dsn>http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8</dsn>
</appender>
<root level="INFO">
<appender-ref ref="SENTRY" />
</root>
</configuration>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!