CDB-2096 Configures the CWD for log4js logger.

This commit is contained in:
Raul Ochoa 2014-04-22 10:52:59 +02:00
parent 5a4a35b665
commit 4da0b1e07c

2
app.js
View File

@ -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