aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-01-21 19:24:40 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2011-01-21 19:24:40 +0100
commit07da9786719a93a019288367438aa9131af8a8e0 (patch)
tree79d2b6e3c8b3c5f18d022cccad5881a34f168623 /src
parentef40dfbef99938969de07fe82c8bffbb67303faf (diff)
downloadosm-xapi-07da9786719a93a019288367438aa9131af8a8e0.tar.gz
osm-xapi-07da9786719a93a019288367438aa9131af8a8e0.tar.xz
osm-xapi-07da9786719a93a019288367438aa9131af8a8e0.zip
changed dict access to dot access
Diffstat (limited to 'src')
-rw-r--r--src/nodejs/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodejs/main.js b/src/nodejs/main.js
index 7895cff..71667af 100644
--- a/src/nodejs/main.js
+++ b/src/nodejs/main.js
@@ -13,14 +13,14 @@ process.argv.forEach(function (val,index, array){
config = require(path);
}
});
-var connectionString = config['connectionString'];
+var connectionString = config.connectionString;
//set up logger
var log4js = require('log4js')(); //note the need to call the function
//log4js.addAppender(log4js.fileAppender('osm-xapi.log'), 'cheese');
var log = log4js.getLogger('global');
-log.setLevel(config['logLevel']);
+log.setLevel(config.logLevel);
log.info("server starting...");