CDB-2096 Configures the CWD for log4js logger.
This commit is contained in:
parent
5a4a35b665
commit
4da0b1e07c
2
app.js
2
app.js
@ -52,7 +52,7 @@ if ( global.environment.rollbar ) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
log4js.configure(log4js_config);
|
log4js.configure(log4js_config, { cwd: __dirname });
|
||||||
global.logger = log4js.getLogger();
|
global.logger = log4js.getLogger();
|
||||||
|
|
||||||
// Include cartodb_windshaft only _after_ the "global" variable is set
|
// Include cartodb_windshaft only _after_ the "global" variable is set
|
||||||
|
Loading…
Reference in New Issue
Block a user