From d9b096595f1a6ea65604da11c7f6e2040100396d Mon Sep 17 00:00:00 2001 From: Josh Mills Date: Thu, 25 May 2023 09:35:50 +0100 Subject: [PATCH] fix: ensure logger uses config (#1104) --- driver/configuration/provider_koanf.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/configuration/provider_koanf.go b/driver/configuration/provider_koanf.go index 2e22a45084..1275f2e496 100644 --- a/driver/configuration/provider_koanf.go +++ b/driver/configuration/provider_koanf.go @@ -93,6 +93,8 @@ func NewKoanfProvider(ctx context.Context, flags *pflag.FlagSet, l *logrusx.Logg return nil, err } + l.UseConfig(kp.source) + for k, v := range kp.source.All() { l.Infof("Loaded config: %v = %v", k, v) }