日志优化。

pull/376/head
王良 3 weeks ago
parent e9c78eb915
commit 935f840ef8

@ -16,7 +16,7 @@ module.exports = {
callback(null, aliveIpObj.host, 4) callback(null, aliveIpObj.host, 4)
return return
} else { } else {
log.info(`----- ${action}: ${hostname}, no alive ip${target}, tester:`, tester) log.info(`----- ${action}: ${hostname}, no alive ip${target}, tester: { "ready": ${tester.ready}, "backupList": ${JSON.stringify(tester.backupList)} }`)
} }
} }
dns.lookup(hostname).then(ip => { dns.lookup(hostname).then(ip => {

Loading…
Cancel
Save