esrlabs / chipmunk

log analysis tool
Apache License 2.0
564 stars 39 forks source link

Integrate Tracing for better Logging and Debugging #2070

Open AmmarAbouZor opened 2 months ago

AmmarAbouZor commented 2 months ago

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:

AmmarAbouZor commented 2 months ago

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.