Skip to content

[FR] log timestamps in ISO8601 format with timezone #1144

@pspacek

Description

@pspacek

Current behavior
Is there a current behavior that the feature relates to?

Related to log output generated by:

unbound -d

It logs in timestamp format like:

[1727194783] unbound[265379:0] error: bind: address already in use

Describe the desired feature
I would like to see standard ISO timestamp format for output, including timezone.

2024-09-24T18:11:29.157+00:00 unbound[265379:0] error: bind: address already in use

Potential use-case

  • Adding timezone would greatly simplify correlating logs from different servers.
  • Maintaining custom parser is ... suboptimal.

Request in NSD to do the same: NLnetLabs/nsd#383

BTW Knot DNS uses the ISO format already.

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