Skip to content

fix: spinners and log output no longer intermix#4090

Merged
1 commit merged intomasterfrom
ens/sync-log-drain
Jan 30, 2025
Merged

fix: spinners and log output no longer intermix#4090
1 commit merged intomasterfrom
ens/sync-log-drain

Conversation

@ghost
Copy link

@ghost ghost commented Jan 30, 2025

Description

Even with self.spinners.suspend(|| self.inner.log(record, values)), spinner and log outputs would sometimes intermix. dfx doesn't have high-volume logging, so this PR changes stderr logging to use sync logging.

How Has This Been Tested?

Tested on another branch that makes more use of progress bars + logging

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

- changed stderr logging to use a sync logger
@ghost ghost self-requested a review as a code owner January 30, 2025 16:36
@ghost ghost enabled auto-merge (squash) January 30, 2025 16:57
@ghost ghost merged commit 1a7a929 into master Jan 30, 2025
296 checks passed
@ghost ghost deleted the ens/sync-log-drain branch January 30, 2025 17:18
viviveevee pushed a commit that referenced this pull request Feb 4, 2025
- changed stderr logging to use a sync logger
adamspofford-dfinity pushed a commit that referenced this pull request Feb 18, 2025
- changed stderr logging to use a sync logger
adamspofford-dfinity pushed a commit that referenced this pull request Feb 18, 2025
- changed stderr logging to use a sync logger
This pull request was closed.
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.

1 participant