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

This commit is contained in:
Louis Lam 2022-06-13 21:15:47 +08:00
parent 6e43ef1dd3
commit 6424fe77ab

View file

@ -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;