Logging cleanup

This commit is contained in:
Justin Santa Barbara 2016-11-18 11:08:18 -05:00
parent a3fa83ac34
commit c3fd29a0e9
2 changed files with 3 additions and 2 deletions

View File

@ -204,7 +204,7 @@ func RunCreateCluster(f *util.Factory, cmd *cobra.Command, args []string, out io
return fmt.Errorf("unknown networking mode %q", c.Networking)
}
glog.Infof("networking selected %s, %s", c.Networking, cluster.Spec.Networking)
glog.V(4).Infof("networking mode=%s => %s", c.Networking, fi.DebugAsJsonString(cluster.Spec.Networking))
if c.Zones != "" {
existingZones := make(map[string]*api.ClusterZoneSpec)

View File

@ -50,6 +50,7 @@ func buildCloudupTags(cluster *api.Cluster) (sets.String, error) {
} else if networking.CNI != nil || networking.Weave != nil {
tags.Insert("_networking_cni")
} else if networking.Kopeio != nil {
// TODO combine with the External
// Kopeio is based on kubenet / external
// TODO combine with External
tags.Insert("_networking_kubenet", "_networking_external")
@ -123,7 +124,7 @@ func buildCloudupTags(cluster *api.Cluster) (sets.String, error) {
tags.Insert(versionTag)
}
glog.Infof("tags: %s", tags.List())
glog.V(4).Infof("tags: %s", tags.List())
return tags, nil
}