Skip to content

Commit

Permalink
Merge pull request #6779 from inteon/fix_json_logging
Browse files Browse the repository at this point in the history
Fix broken json logging
  • Loading branch information
jetstack-bot committed Feb 21, 2024
2 parents 39041fd + 8fd62df commit 3204b21
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 3204b21

Please sign in to comment.