Merge pull request #1946 from barakmich/less_logging
Remove verbose logging and extraneous debug. Fixes #1904release-2.0
commit
43bb6cf038
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue