Be able to pass the logger to the analysis creation (camshaft) while instantiating a named map with analysis
This commit is contained in:
parent
6f9f53dd03
commit
d28744a5e3
@ -181,6 +181,8 @@ function getTemplate (
|
||||
params
|
||||
);
|
||||
|
||||
mapConfigProvider.logger = res.locals.logger;
|
||||
|
||||
mapConfigProvider.getMapConfig((err, mapConfig, rendererParams, context, stats = {}) => {
|
||||
req.profiler.add(stats);
|
||||
|
||||
|
@ -129,6 +129,7 @@ module.exports = class NamedMapMapConfigProvider extends BaseMapConfigProvider {
|
||||
|
||||
context.analysisConfiguration = {
|
||||
user: this.user,
|
||||
logger: this.logger,
|
||||
db: {
|
||||
host: rendererParams.dbhost,
|
||||
port: rendererParams.dbport,
|
||||
|
Loading…
Reference in New Issue
Block a user