improve logging on HistoricSync

This commit is contained in:
Manuel Araoz 2014-08-20 15:56:45 -04:00
parent 52671cf093
commit 7a24d3bcd8
1 changed files with 2 additions and 1 deletions

View File

@ -427,7 +427,8 @@ HistoricSync.prototype.start = function(opts, next) {
else {
self.endTs = Date.now();
self.status = 'finished';
console.log('Done Syncing', self.info());
var info = self.info();
logger.debug('Done Syncing blockchain', info.type, 'to height', info.height);
return w_cb(err);
}
});