Browse Source

Move to debugging statements

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 years ago
parent
commit
48322e5ec7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pkg/cmd/costmodel/costmodel.go

+ 2 - 1
pkg/cmd/costmodel/costmodel.go

@@ -34,7 +34,7 @@ func Healthz(w http.ResponseWriter, _ *http.Request, _ httprouter.Params) {
 
 func Execute(opts *CostModelOpts) error {
 	log.Infof("Starting cost-model version %s", version.FriendlyVersion())
-	log.Infof("Kubernetes enabled: %t", env.IsKubernetesEnabled())
+	log.Debugf("Kubernetes enabled: %t", env.IsKubernetesEnabled())
 
 	var a *costmodel.Accesses
 
@@ -46,6 +46,7 @@ func Execute(opts *CostModelOpts) error {
 		}
 	} else {
 		a = costmodel.InitializeWithoutKubernetes()
+		log.Debugf("Cloud Cost config path: %s", env.GetCloudCostConfigPath())
 	}
 
 	log.Infof("Cloud Costs enabled: %t", env.IsCloudCostEnabled())