From dd5825c770658837b8a7d772478978b8b062dba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Mart=C3=ADn?= Date: Mon, 28 Oct 2019 11:55:43 +0100 Subject: [PATCH] using a new logger --- lib/api/api-router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/api-router.js b/lib/api/api-router.js index fe08c10d..f72081be 100644 --- a/lib/api/api-router.js +++ b/lib/api/api-router.js @@ -86,7 +86,7 @@ module.exports = class ApiRouter { const mapStore = new windshaft.storage.MapStore({ pool: redisPool, expire_time: serverOptions.grainstore.default_layergroup_ttl, - logger: global.logger + logger: global.log4js.getLogger('[windshaft]') }); const rendererFactory = createRendererFactory({ redisPool, serverOptions, environmentOptions });