using a new logger
This commit is contained in:
parent
080f93f6de
commit
dd5825c770
@ -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 });
|
||||||
|
Loading…
Reference in New Issue
Block a user