Skip to content

Commit 5b59b95

Browse files
authored
Merge pull request #161 from RADAR-base/feature/sentry
fix: default log level for sentry
2 parents f6624b3 + 8f6423b commit 5b59b95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ To enable Sentry monitoring for the generic REST, Fitbit, or Oura source connect
187187
1. Set a `SENTRY_DSN` environment variable that points to the desired Sentry DSN.
188188
2. (Optional) Set the `SENTRY_LOG_LEVEL` environment variable to control the minimum log level of
189189
events sent to Sentry.
190-
The default log level for Sentry is `WARN`. Possible values are `TRACE`, `DEBUG`, `INFO`, `WARN`,
190+
The default log level for Sentry is `ERROR`. Possible values are `TRACE`, `DEBUG`, `INFO`, `WARN`,
191191
and `ERROR`.
192192

193193
For further configuration of Sentry via environmental variables see [here](https://docs.sentry.io/platforms/java/configuration/#configuration-via-the-runtime-environment). For instance:

oura-library/src/main/resources/log4j2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
<loggers>
3333
<root level="INFO">
3434
<appender-ref ref="Console" />
35-
<!-- Note that the Sentry logging threshold is at WARN level by default -->
36-
<appender-ref ref="Sentry" level="${env:SENTRY_LOG_LEVEL:-WARN}" />
35+
<!-- Note that the Sentry logging threshold is at ERROR level by default -->
36+
<appender-ref ref="Sentry" level="${env:SENTRY_LOG_LEVEL:-ERROR}" />
3737
</root>
3838
</loggers>
3939
</configuration>

0 commit comments

Comments
 (0)