Skip to content

Support Logformat like json or logfmt #671

@wrenix

Description

@wrenix

Specific Demand

if i have to parse the logs i have to write an regex.
i would prefer json or logfmt which are well formated and parse able logs

Implement Suggestion

use just the default tracing_subscriber library for such formats:

  • json part of tracing-subscriber
  • logfmt

more inforamation e.g.: https://oneuptime.com/blog/post/2026-01-25-structured-json-logs-tracing-rust/view

to configure in dufs, maybe just set --log-format=json or --log-format=logfmt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions