Skip to content
This repository was archived by the owner on Sep 12, 2023. It is now read-only.
This repository was archived by the owner on Sep 12, 2023. It is now read-only.

Unify structured logging for common operator #143

@Jeffwan

Description

@Jeffwan

All of below have reference in different operators. This makes logs very messy and we need to consolidate to one common utility

  1. "github.com/sirupsen/logrus"
  2. "github.com/go-logr/logr" - default logger interface used by reconciler generated by kubebuilder.
  3. "sigs.k8s.io/controller-runtime/pkg/log" - implementation of "go-logr/logr"
  4. https://github.com/kubeflow/common/blob/master/pkg/util/logger.go - use logrus underneath
  5. "k8s.io/klog"

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