diff --git a/pkg/options/options.go b/pkg/options/options.go index 44d511976..bebd54c2b 100644 --- a/pkg/options/options.go +++ b/pkg/options/options.go @@ -67,6 +67,9 @@ func (o *Options) Summarize(logger log.Logger) { } func (o *Options) Logger() log.Logger { + if o.Log != nil { + return o.Log + } fields := log.Fields{} emptyArch := types.Architecture("")