Browse Source

change some logs to debug

pull/317/head
Ethan Buchman 8 years ago
parent
commit
3ff9355e7b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      consensus/reactor.go
  2. +1
    -1
      state/execution.go

+ 1
- 1
consensus/reactor.go View File

@ -503,7 +503,7 @@ OUTER_LOOP:
if sleeping == 0 { if sleeping == 0 {
// We sent nothing. Sleep... // We sent nothing. Sleep...
sleeping = 1 sleeping = 1
log.Info("No votes to send, sleeping", "peer", peer,
log.Debug("No votes to send, sleeping", "peer", peer,
"localPV", rs.Votes.Prevotes(rs.Round).BitArray(), "peerPV", prs.Prevotes, "localPV", rs.Votes.Prevotes(rs.Round).BitArray(), "peerPV", prs.Prevotes,
"localPC", rs.Votes.Precommits(rs.Round).BitArray(), "peerPC", prs.Precommits) "localPC", rs.Votes.Precommits(rs.Round).BitArray(), "peerPC", prs.Precommits)
} else if sleeping == 2 { } else if sleeping == 2 {


+ 1
- 1
state/execution.go View File

@ -111,7 +111,7 @@ func (s *State) execBlockOnProxyApp(eventCache types.Fireable, proxyAppConn prox
return err return err
} }
// TODO: Do something with changedValidators // TODO: Do something with changedValidators
log.Info("TODO: Do something with changedValidators", "changedValidators", changedValidators)
log.Debug("TODO: Do something with changedValidators", "changedValidators", changedValidators)
log.Info(Fmt("ExecBlock got %v valid txs and %v invalid txs", validTxs, invalidTxs)) log.Info(Fmt("ExecBlock got %v valid txs and %v invalid txs", validTxs, invalidTxs))
return nil return nil


Loading…
Cancel
Save