updated to use a common logging library and enable log level configuration
Change-Id: Ib473615f25318c3b40cd6cf3bd49248e8a3d4fb1
diff --git a/provisioner/consul_storage.go b/provisioner/consul_storage.go
index 5701c72..0a0c62d 100644
--- a/provisioner/consul_storage.go
+++ b/provisioner/consul_storage.go
@@ -3,7 +3,6 @@
import (
"encoding/json"
consul "github.com/hashicorp/consul/api"
- "log"
"net/url"
)
@@ -27,7 +26,7 @@
Scheme: "http",
}
- log.Printf("%+v", cfg)
+ log.Debugf("Consul config = %+v", cfg)
client, err := consul.NewClient(&cfg)
if err != nil {