Skip to content

Conversation

@JoshFerge
Copy link
Member

Summary

Silences noisy info-level logs from the redis-py-cluster library that clutter development logs without providing actionable information.

Changes

  • Configure the rediscluster logger to WARNING level in src/sentry/conf/server.py
  • Follows the same pattern used for other chatty third-party libraries (boto3, botocore, urllib3)

Context

The redis-py-cluster library logs info messages like:

event: "Creating new ClusterConnection instance"
level: "info"
name: "rediscluster.connection"

These logs appear frequently during normal operation and add noise without value. Setting the logger to WARNING level filters them out while preserving actual warnings and errors.

The redis-py-cluster library logs info-level messages for every connection
creation ("Creating new ClusterConnection instance"). This adds noise to
development logs without providing actionable information.

Set the rediscluster logger to WARNING level to filter out these messages,
following the same pattern used for other chatty third-party libraries
like boto3, botocore, and urllib3.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 29, 2025
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #102294   +/-   ##
========================================
  Coverage   80.95%    80.95%           
========================================
  Files        8785      8785           
  Lines      389663    389691   +28     
  Branches    24782     24782           
========================================
+ Hits       315466    315489   +23     
- Misses      73834     73839    +5     
  Partials      363       363           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants