Skip to content

Support for JSON logging #579

@chess-knight

Description

@chess-knight

Allow to configure json log format.

Currently local-path-provisioner is using github.com/sirupsen/logrus for the logs, but it hardcodes format to be &logrus.TextFormatter{FullTimestamp: true}.
Logrus supports also logrus.JSONFormatter, see e.g. https://github.com/sirupsen/logrus#environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions