Skip to content

Migrate to slog #3362

@MarcoPolo

Description

@MarcoPolo

Migrate to the standard library structured logging package. Also remove the global logger and pass the logger in.

This will let us (optionally) add a peer id to every log statement, which will make debugging tests much easier.

It also lets users ingest the logs into a structured log database such as Loki.

We can add a shim to continue supporting the GOLOG_LOG_LEVEL

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