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

Allow thread name to not track the longest name #2465

Open
Sytten opened this issue Feb 8, 2023 · 0 comments · May be fixed by #3191
Open

Allow thread name to not track the longest name #2465

Sytten opened this issue Feb 8, 2023 · 0 comments · May be fixed by #3191

Comments

@Sytten
Copy link

Sytten commented Feb 8, 2023

Feature Request

Crates

tracing-subscriber

Motivation

Currently the FmtThreadName tracks the longest name it sees. In many cases this is VERY ugly.

Proposal

It should be possible to just not track the length and just print the name even if the log lines don't align.
Basically FmtThreadName::new(name, self.track_longuest_thread_name).

Alternatives

None at the moment.

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