removing default error log value
This commit is contained in:
parent
b035b5d384
commit
b3d7909849
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user