Skip to content

Conversation

@sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Dec 19, 2025

The Sentry Logs functionality is currently tested in three places:

  1. general logs functionality in test_logs.py
  2. Loguru logs functionality in integrations/loguru/test_loguru.py
  3. stdlib logging integration in integrations/logging/test_logging.py

The idea is that 1. checks the general Sentry logs feature, while 2. and 3. check the Sentry logs integration with logging/Loguru.

This PR changes the log calls in 1. to use the Sentry logs API directly (instead of the stdlib logging API) to make this distinction clearer.

@sentrivana sentrivana changed the title tests: General logs tests should use Sentry logs tests: General logs tests should use Sentry logs API Dec 19, 2025
@sentrivana sentrivana marked this pull request as ready for review December 19, 2025 09:06
@sentrivana sentrivana requested a review from a team as a code owner December 19, 2025 09:06
@sentrivana sentrivana merged commit 8159cae into master Dec 19, 2025
162 of 164 checks passed
@sentrivana sentrivana deleted the ivana/logs-tests-should-use-sentry-logger branch December 19, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants