Skip to content

Commit

Permalink
fix broken json logging
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
  • Loading branch information
inteon committed Feb 21, 2024
1 parent 39041fd commit 8fd62df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ import (
logsapi "k8s.io/component-base/logs/api/v1"
_ "k8s.io/component-base/logs/json/register"
"k8s.io/klog/v2"
"k8s.io/klog/v2/textlogger"

"github.com/cert-manager/cert-manager/pkg/api"
)

var (
Log = textlogger.NewLogger(textlogger.NewConfig()).WithName("cert-manager")
Log = klog.TODO().WithName("cert-manager")
)

const (
Expand Down

0 comments on commit 8fd62df

Please sign in to comment.