From 44507e64cf123a6e6fbe7c5264707456b9c17af5 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Tue, 7 Jun 2016 22:54:23 -0400 Subject: [PATCH] upup: remove some bad logging Was left over from move to simpler unmarshal model --- upup/pkg/fi/cloudup/loader.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upup/pkg/fi/cloudup/loader.go b/upup/pkg/fi/cloudup/loader.go index 64b955f9fe..55edd3f0ec 100644 --- a/upup/pkg/fi/cloudup/loader.go +++ b/upup/pkg/fi/cloudup/loader.go @@ -218,7 +218,7 @@ func (l *Loader) processDeferrals() error { return fmt.Errorf("Unable to find task %q, referenced from %s:%s", *name, taskKey, path) } - glog.Infof("Replacing task %q at %s:%s", *name, taskKey, path) + glog.V(4).Infof("Replacing task %q at %s:%s", *name, taskKey, path) v.Set(reflect.ValueOf(primary)) } return utils.SkipReflection @@ -372,7 +372,7 @@ func (l *Loader) loadObjectMap(key string, data map[string]interface{}) (map[str o := reflect.New(t) - glog.Warningf("replace with partial unmarshal...") + // TODO replace with partial unmarshal... jsonValue, err := json.Marshal(v) if err != nil { return nil, fmt.Errorf("error marshalling to json: %v", err) @@ -381,7 +381,7 @@ func (l *Loader) loadObjectMap(key string, data map[string]interface{}) (map[str if err != nil { return nil, fmt.Errorf("error parsing %q: %v", key, err) } - glog.Infof("Built %s:%s => %v", key, k, o.Interface()) + glog.V(4).Infof("Built %s:%s => %v", key, k, o.Interface()) if inferredName { hn, ok := o.Interface().(fi.HasName)