From 080f93f6de65a3bf40f476ddb89df80843688bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Mart=C3=ADn?= Date: Thu, 24 Oct 2019 17:34:46 +0200 Subject: [PATCH] passing logger to MapStore --- lib/api/api-router.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/api/api-router.js b/lib/api/api-router.js index 9349a515..fe08c10d 100644 --- a/lib/api/api-router.js +++ b/lib/api/api-router.js @@ -85,7 +85,8 @@ module.exports = class ApiRouter { const mapStore = new windshaft.storage.MapStore({ pool: redisPool, - expire_time: serverOptions.grainstore.default_layergroup_ttl + expire_time: serverOptions.grainstore.default_layergroup_ttl, + logger: global.logger }); const rendererFactory = createRendererFactory({ redisPool, serverOptions, environmentOptions });