diff --git a/services/ddns.service.js b/services/ddns.service.js index 5055221..dc92570 100644 --- a/services/ddns.service.js +++ b/services/ddns.service.js @@ -639,7 +639,8 @@ module.exports = { } }).catch((err) => { this.stats.errors++; - this.logger.error('onQuery', err) + if (this.config['ddns.logging']) + this.logger.error('onQuery', err) }) } });