removing default error log value

This commit is contained in:
Simon Martín 2017-12-12 11:03:52 +01:00
parent b035b5d384
commit b3d7909849

View File

@ -409,12 +409,6 @@ function setupLogger(app, opts) {
}; };
app.use(global.log4js.connectLogger(global.log4js.getLogger(), _.defaults(loggerOpts, {level: 'info'}))); app.use(global.log4js.connectLogger(global.log4js.getLogger(), _.defaults(loggerOpts, {level: 'info'})));
} }
// default X-Tiler-Errors header
app.use((req, res, next) => {
res.set('X-Tiler-Errors', '{}');
next();
});
} }
function surrogateKeysCacheBackends(serverOptions) { function surrogateKeysCacheBackends(serverOptions) {