Skip to content

Use Structured Logging #1804

@michaelmairegger

Description

@michaelmairegger

The messages in the logging screen are currently simple concatenated strings. As a result, they do not take advantage of structured logging. With parameterized log entries, logging tools like Seq can filter by properties and effectively use log templates.

Why it matters

Structured/parameterized logging solves several drawbacks of string concatenation and interpolation:

  • Concatenated or interpolated logs become one big string, which can't be queried for individual fields like UserId.
  • String formatting is done even if the log level is disabled.
  • Parameterized logs keep data machine‑readable for indexing and searching

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions