rollbar / rollbar-flutter

Rollbar for Dart and Flutter
https://docs.rollbar.com/docs/flutter
MIT License
21 stars 27 forks source link

Excessive logging of Processing saved items #89

Closed ghost closed 1 year ago

ghost commented 1 year ago

Upon adding Rollbar to my Flutter app, it spams my console with [Rollbar] Processing saved items: no queued items in the file!. I am unable to determine how to disable this.

jesther-ai commented 1 year ago

any workaround for this?

ghost commented 1 year ago

@jesther-ai Unfortunately, no - my workaround was to disable Rollbar in development.

if (settings.isDebug) {
    runApp(app);
  } else {
    final rollbarToken = settings.rollbarToken ?? '';
    final rollbarConfig = rollbar.Config(accessToken: rollbarToken, package: 'MyFlutterApp', includePlatformLogs: false);
    await rollbar.RollbarFlutter.run(rollbarConfig, () async => runApp(app));
  }

This is making question using Rollbar, a month later and not even an acknowledgement. Paid logging services are a dime a dozen.

ghost commented 1 year ago

Hey @jjonte-cake & @jesther-ai, Thanks for reporting this issue. We'll start investigating, and I'll get back to you with an update.

matux commented 1 year ago

This issue will be fixed in the new release of our Apple SDK, which is a dependency of the Flutter SDK we use to catch crashes and exceptions that occur natively.

As soon as that version is released and we update the Flutter SDK to use the new version, which should be soon, I'll comment here.