Skip to content

journald: Do not log additional string data in Debug representation #1710

Closed
@swsnr

Description

@swsnr

Bug Report

Follow up from #1709 (comment)

Description

tracing-journald currently logs additional string fields in their Debug representation, i.e. this code

info!(foo="foo", "test")

writes FOO="foo" to the journal, i.e. with extra quotes from format!("{:?}").

I expected FOO=foo, i.e. a regular string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions