Bring back logger for windshaft

This commit is contained in:
Daniel García Aubert
2020-06-02 13:20:57 +02:00
parent b7b3392bdd
commit afeb91dc86
+2 -1
View File
@@ -86,7 +86,8 @@ module.exports = class ApiRouter {
const { rendererCache, tileBackend, attributesBackend, previewBackend, mapBackend, mapStore } = windshaftFactory({
rendererOptions: serverOptions,
redisPool,
onTileErrorStrategy: getOnTileErrorStrategy({ enabled: environmentOptions.enabledFeatures.onTileErrorStrategy })
onTileErrorStrategy: getOnTileErrorStrategy({ enabled: environmentOptions.enabledFeatures.onTileErrorStrategy }),
logger: this.serverOptions.logger
});
const rendererStatsReporter = new RendererStatsReporter(rendererCache, serverOptions.renderCache.statsInterval);