Skip to content

Conversation

Chriztiaan
Copy link
Contributor

@Chriztiaan Chriztiaan commented May 15, 2025

This was causing worker remote logs not to be broadcasted to the individual tabs' logs. Missing parameter on construction of the WebRemote in SharedSyncImplementation - this.logger will be set to this.broadcastLogger when the broadcastLogs flag is true (defaults to true).

After this change you can see the remote logs:

log call Log in tab's console
Screenshot 2025-05-15 at 10 18 17 Screenshot 2025-05-15 at 10 21 45

…causing worker remote logs not to be broadcasted to the tab's logs.
Copy link

changeset-bot bot commented May 15, 2025

🦋 Changeset detected

Latest commit: 8142eb5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@powersync/web Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Chriztiaan Chriztiaan marked this pull request as ready for review May 15, 2025 08:26
@Chriztiaan Chriztiaan merged commit fccf11e into main May 15, 2025
6 checks passed
@Chriztiaan Chriztiaan deleted the fix/broadcast-logs-web-remote branch May 15, 2025 08:34
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.

2 participants