diff --git a/cmd/entrypoints/root.go b/cmd/entrypoints/root.go index a5c3e9a5..9c898916 100644 --- a/cmd/entrypoints/root.go +++ b/cmd/entrypoints/root.go @@ -6,6 +6,8 @@ import ( "fmt" "os" + "github.com/flyteorg/flytestdlib/logger" + "github.com/flyteorg/flytestdlib/config" "github.com/flyteorg/flytestdlib/config/viper" "github.com/spf13/cobra" @@ -68,7 +70,7 @@ func initConfig(flags *pflag.FlagSet) error { StrictMode: false, }) - fmt.Println("Using config file: ", configAccessor.ConfigFilesUsed()) + logger.Infof(context.TODO(), "Using config file: %v", configAccessor.ConfigFilesUsed()) configAccessor.InitializePflags(flags)