diff --git a/oracle/src/services/RedundantHttpListProvider.js b/oracle/src/services/RedundantHttpListProvider.js index 3dc121b8..929fbd85 100644 --- a/oracle/src/services/RedundantHttpListProvider.js +++ b/oracle/src/services/RedundantHttpListProvider.js @@ -15,6 +15,10 @@ function RedundantHttpListProvider(urls, options = {}) { this.options = { ...defaultOptions, ...options } } +RedundantHttpListProvider.prototype.setLogger = function(logger) { + this.logger = logger.child({ module: `RedundantHttpListProvider:${this.options.name}` }) +} + RedundantHttpListProvider.prototype.send = async function send(payload, callback) { try { const result = await promiseRetry(retry => {