using a new logger

This commit is contained in:
Simon Martín 2019-10-28 11:55:43 +01:00
parent 080f93f6de
commit dd5825c770

View File

@ -86,7 +86,7 @@ module.exports = class ApiRouter {
const mapStore = new windshaft.storage.MapStore({ const mapStore = new windshaft.storage.MapStore({
pool: redisPool, pool: redisPool,
expire_time: serverOptions.grainstore.default_layergroup_ttl, expire_time: serverOptions.grainstore.default_layergroup_ttl,
logger: global.logger logger: global.log4js.getLogger('[windshaft]')
}); });
const rendererFactory = createRendererFactory({ redisPool, serverOptions, environmentOptions }); const rendererFactory = createRendererFactory({ redisPool, serverOptions, environmentOptions });