Skip to content

Logs: never sent if they are always logs sent under the flush timeout delay #5378

Closed

Description

@lucas-zimerman

What React Native libraries do you use?

RN New Architecture

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

latest

How does your development environment look like?

.

Sentry.init()

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  // other options
});

Steps to Reproduce

let counter = 0;
const sender = () => {
  Sentry.logger.info(`never flushed number ${counter}`);
  setTimeout(sender, 2000);
};

sender();

Expected Result

logs sent.

Actual Result

logs shown.

Activity

  1. linear commented on Nov 14, 2025

    @linear
  2. andreiborza commented on Nov 17, 2025

    @andreiborza
    Member

    Fixed by: getsentry/sentry-javascript#18211 which will go out in our next release.

  3. lucas-zimerman commented on Nov 17, 2025

    @lucas-zimerman
    CollaboratorAuthor

    Thank you!

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions