From 6cad3c33a88cd919b9ce9f43c824ead1aa0eeb5a Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Wed, 4 Oct 2023 15:39:35 +0900 Subject: [PATCH] add: log for the config (#142) --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 2266018c..4f34a5b2 100644 --- a/main.go +++ b/main.go @@ -92,6 +92,8 @@ func main() { os.Exit(1) } + setupLog.Info("config", "config", *config) + ctrl.SetLogger(zap.New(zap.UseFlagOptions(&opts))) mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{