From 8ece28d4f7e3784d3f0e998744bf9f2c561a26b3 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Mon, 15 Dec 2014 14:47:02 -0500 Subject: [PATCH] Remove verbose logging and extraneous debug. Fixes #1904 --- migrate/etcd4.go | 1 - migrate/log.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/migrate/etcd4.go b/migrate/etcd4.go index 01c349e39..17cd1f01c 100644 --- a/migrate/etcd4.go +++ b/migrate/etcd4.go @@ -145,7 +145,6 @@ func GuessNodeID(nodes map[string]uint64, snap4 *Snapshot4, cfg *Config4, name s //snapNodes[p.Name] = uint64(m.ID) //} for _, p := range cfg.Peers { - log.Printf(p.Name) delete(snapNodes, p.Name) } if len(snapNodes) == 1 { diff --git a/migrate/log.go b/migrate/log.go index 09bba246b..1a66167cd 100644 --- a/migrate/log.go +++ b/migrate/log.go @@ -490,8 +490,6 @@ func toEntry5(ent4 *etcd4pb.LogEntry, raftMap map[string]uint64) (*raftpb.Entry, Data: data, } - log.Printf("%d: %s -> %s", ent5.Index, ent4.GetCommandName(), ent5.Type) - return &ent5, nil }