common, core, eth/downloader: adjust import log formatting

This commit is contained in:
Péter Szilágyi
2016-10-18 11:18:07 +03:00
parent 6952fe3a5c
commit 64500ab0fa
4 changed files with 71 additions and 19 deletions

View File

@ -952,7 +952,7 @@ func (d *Downloader) fetchNodeData() error {
// Log a message to the user and return
if delivered > 0 {
glog.V(logger.Info).Infof("imported %d state entries in %v: processed %d, pending at least %d", delivered, time.Since(start), d.syncStatsStateDone, pending)
glog.V(logger.Info).Infof("imported %d state entries in %9v: processed %d, pending at least %d", delivered, common.PrettyDuration(time.Since(start)), d.syncStatsStateDone, pending)
}
})
}