Skip to content

refactor(tracing): use builder style#1009

Merged
haixuanTao merged 1 commit intodora-rs:mainfrom
sjfhsjfh:node-log
Jun 2, 2025
Merged

refactor(tracing): use builder style#1009
haixuanTao merged 1 commit intodora-rs:mainfrom
sjfhsjfh:node-log

Conversation

@sjfhsjfh
Copy link
Copy Markdown
Contributor

This PR refactors the tracing initialization to use the builder-style API, improving configurability and clarity. Additionally, it removes the blocking std::io::stdout-based tracing layer used in the Node, which previously caused log output to hang in async contexts (Fix #1001).

Finally, several function names with misleading semantics have been renamed for clarity.

@sjfhsjfh sjfhsjfh changed the title refactor: use builder style refactor(tracing): use builder style May 27, 2025
@haixuanTao
Copy link
Copy Markdown
Collaborator

FYI, I fixed the CI/CD within #1008, would it be possible to rebase on top of it!

Thanks for the PR

fix: logging thread block
@sjfhsjfh
Copy link
Copy Markdown
Contributor Author

Done.

@haixuanTao
Copy link
Copy Markdown
Collaborator

Very sorry.

Just want to merge couple of older PR first, before coming back to this but this looks very promising!

Copy link
Copy Markdown
Collaborator

@haixuanTao haixuanTao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks!

@haixuanTao haixuanTao merged commit 6619713 into dora-rs:main Jun 2, 2025
163 of 164 checks passed
@sjfhsjfh sjfhsjfh mentioned this pull request Sep 3, 2025
3 tasks
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.

Terminal logging freezes after ~30 seconds

2 participants