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

feat(logging): structured logging and tracing #1582

Merged
merged 4 commits into from
Apr 25, 2023
Merged

Conversation

gurinderu
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Apr 20, 2023

NET-420 Use structured log format in rust-peer

Structured logs are easy to parse, they are consistent and flexible at the same time.

Maybe use https://crates.io/crates/tracing ?

It doesn't seem to support logfmt though, which is a preferred format for logging as it both works for humans and machines.

json is also fine but not as pretty.

https://crates.io/crates/tracing-logfmt it does support logfmt

@gurinderu gurinderu changed the title Feature/net 420 feat(logging): structured logging and tracing Apr 20, 2023
@gurinderu gurinderu added the e2e Run e2e workflow label Apr 20, 2023
@gurinderu gurinderu marked this pull request as ready for review April 21, 2023 14:03
@gurinderu gurinderu force-pushed the feature/net-420 branch 2 times, most recently from b07e20b to 497d7ce Compare April 24, 2023 11:14
@gurinderu gurinderu requested review from kmd-fl and justprosh April 24, 2023 11:14
particle-node/src/main.rs Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Run e2e workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants