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

Please let customize level mapping for tracing-journald #2649

Closed
hongquan opened this issue Jul 14, 2023 · 1 comment
Closed

Please let customize level mapping for tracing-journald #2649

hongquan opened this issue Jul 14, 2023 · 1 comment

Comments

@hongquan
Copy link

Feature Request

Crates

tracing-journald

Motivation

Currently, tracing-journald map tracing log level to Journald priority like this:

ERROR => Error (3)
WARN => Warning (4)
INFO => Notice (5)
DEBUG => Informational (6)
TRACE => Debug (7)

However, because "Notice" produces bold text, I want to remap like this:

INFO => Informational (6)
DEBUG / TRACE => Debug (7)

Proposal

Alternatives

@glts
Copy link

glts commented Aug 7, 2023

See pull request #2347.

@hawkw hawkw closed this as completed in d4ca988 Jan 11, 2024
hds pushed a commit that referenced this issue Nov 19, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
hds pushed a commit that referenced this issue Nov 20, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
hds pushed a commit that referenced this issue Nov 20, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
hds pushed a commit that referenced this issue Nov 20, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
hds pushed a commit that referenced this issue Nov 21, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
hds pushed a commit that referenced this issue Nov 22, 2024
This allows to manually map tracing levels to journald levels.

It seems that @little-dude, who started the original PR, doesn't have
time to finish this, so I picked it up.  Reapplied the changes to the
newest master branch and fixed the latest comments/issues.

This will also fix/close:

Closes #2649
Closes #2661
Closes #2347 (the original pr)
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

No branches or pull requests

2 participants