Skip to content

Commit

Permalink
Add log entries of level INFO to Sentry breadcrumbs
Browse files Browse the repository at this point in the history
This gives better insight for certain issues as more log entries are
available in the breadcrumbs of captured Sentry issues.
  • Loading branch information
agners committed Nov 8, 2023
1 parent 2d970ee commit fac64b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/utils/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def init_sentry(coresys: CoreSys) -> None:
DedupeIntegration(),
AtexitIntegration(),
ThreadingIntegration(),
LoggingIntegration(level=logging.WARNING, event_level=logging.CRITICAL),
LoggingIntegration(level=logging.INFO, event_level=logging.CRITICAL),
],
release=SUPERVISOR_VERSION,
max_breadcrumbs=30,
Expand Down

0 comments on commit fac64b3

Please sign in to comment.