diff --git a/log.go b/log.go index b4cf172e30..9371a71166 100644 --- a/log.go +++ b/log.go @@ -405,7 +405,7 @@ func (l *Log) setCommitIndex(index uint64) error { // Apply the changes to the state machine and store the error code. returnValue, err := l.ApplyFunc(command) - debugln("setCommitIndex.set.result index: ", entryIndex) + debugf("setCommitIndex.set.result index: %v entires index: ", i, entryIndex) l.results[entryIndex] = &logResult{returnValue: returnValue, err: err} } return nil