Skip to content

Large numbers of exceptions are logged at ERROR level when rate limited #559

@adrian-baker

Description

@adrian-baker

Upon upgrading from the older raven-java sdk to sentry-logback: 1.6.7, we're getting a huge amount of internal exceptions logged by sentry's rate limiting implementation (an average of 1 / sec on a single JVM, see attached log).

Setting the io.sentry.SentryClient.lockdown logger to ERROR level hasn't helped.

  • we would expect to never see exceptions logged from rate limiting at levels above DEBUG, so the issue isn't just one of frequency - rate limiting shouldn't result in exceptions cluttering the log, as this is just an internal detail of sentry's rate limiting implementation.
  • anything that is logged shouldn't be at the ERROR level
  • we can't simply disable the logger being used ("io.sentry.connection.AbstractConnection"), as it would mean we would miss genuine connectivity issues with sentry.
  • the rate limiting itself is not the issue, nor is it new, however previously these were simply reported periodically as one line warnings, which worked well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions