Change successful log from `info` to `debug` in order to avoid large log and less disk usage

pull/1759/head^2
Louis Lam 2 years ago
parent 6e43ef1dd3
commit 6424fe77ab

@ -513,7 +513,7 @@ class Monitor extends BeanModel {
}
if (bean.status === UP) {
log.info("monitor", `Monitor #${this.id} '${this.name}': Successful Response: ${bean.ping} ms | Interval: ${beatInterval} seconds | Type: ${this.type}`);
log.debug("monitor", `Monitor #${this.id} '${this.name}': Successful Response: ${bean.ping} ms | Interval: ${beatInterval} seconds | Type: ${this.type}`);
} else if (bean.status === PENDING) {
if (this.retryInterval > 0) {
beatInterval = this.retryInterval;

Loading…
Cancel
Save