Browse Source

Remove verbose logging and extraneous debug. Fixes #1904

Barak Michener 11 years ago
parent
commit
8ece28d4f7
2 changed files with 0 additions and 3 deletions
  1. 0 1
      migrate/etcd4.go
  2. 0 2
      migrate/log.go

+ 0 - 1
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 {

+ 0 - 2
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
 }