Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Tracing for better Logging and Debugging #2070

Open
AmmarAbouZor opened this issue Aug 19, 2024 · 1 comment
Open

Integrate Tracing for better Logging and Debugging #2070

AmmarAbouZor opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
new newly created issue

Comments

@AmmarAbouZor
Copy link
Member

It would be helpful to improve logging functionality in the Rust part of Chipmunk since this part is really hard to debug using a debugger and since using normal logging function in Async world is missing the context of the log information.

To solve these problems, I'll suggest using the crate tracing for the following benefits:

  • It's designed for async scenarios, providing much more context for each log.
  • Tracing level can be controlled in build time, giving us the option to remove lower tracing levels completely in release builds.
  • Data from tracing can be used for more than normal logs with all the provided subscribers for telemetry and performance etc..
  • Can be bridged with the normal logs as well.
@github-actions github-actions bot added the new newly created issue label Aug 19, 2024
@AmmarAbouZor
Copy link
Member Author

We can start with implementing it in the build CLI tool as a logging system to get a better feeling and some experience with it before implementing it in Chipmunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new newly created issue
Projects
None yet
Development

No branches or pull requests

2 participants