Skip to content

Remove possibly redundant information from span info #18

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

Closed
oli-obk opened this issue Aug 18, 2020 · 0 comments · Fixed by #19
Closed

Remove possibly redundant information from span info #18

oli-obk opened this issue Aug 18, 2020 · 0 comments · Fixed by #19

Comments

@oli-obk
Copy link
Collaborator

oli-obk commented Aug 18, 2020

Right now a span entry prints something like

path::to::span::name{field=value, field2=value}

or in the case of no fields and just a message

path::to:span::name{message="foo"}

@RalfJung brought this up in rust-lang/rust#75143 (comment)

Basically we could leave the { and } off, as there's no confusion about what belongs to the span and what not like in the regular tracing printer. Additionally the message="foo" could just be "foo" or even foo.

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 a pull request may close this issue.

1 participant