Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Reduced number of healthcheck log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
enobufs committed Sep 10, 2016
1 parent 4ccbd69 commit 6f78578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/broker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1671,14 +1671,14 @@ Broker.prototype._onTimer = function () {
)
.then(function (res) {
if (res[0] == 0) {
self.logger.debug('Broker (%s): health check %d', self.id, res[0]);
debug('Broker (%s): healthcheck %d', self.id, res[0]);
return;
}
if (res[0] == 1) {
self.logger.debug('Broker (%s): health check %d', self.id, res[0]);
self.logger.debug('Broker (%s): healthcheck (%d: salvage issued)', self.id, res[0]);
return;
}
self.logger.warn('Broker (%s): health check warning: %s', self.id, res[1]);
self.logger.warn('Broker (%s): healthcheck warning: %s', self.id, res[1]);
}).done();
}
}
Expand Down

0 comments on commit 6f78578

Please sign in to comment.