diff --git a/pkg/command/operator.go b/pkg/command/operator.go index 90d3a8b4..ec584045 100644 --- a/pkg/command/operator.go +++ b/pkg/command/operator.go @@ -105,7 +105,8 @@ func OperatorWithSignal(operatorCfg *oconfig.Config, signalHandler context.Conte logf.SetLogger(*operatorCfg.Logger) ctrl.SetLogger(*operatorCfg.Logger) } else { - logf.SetLogger(zap.New()) + // Use the unstructured log formatter when running locally. + logf.SetLogger(zap.New(zap.UseDevMode(local))) ctrl.SetLogger(zap.New(zap.UseDevMode(true))) }