aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nodejs/no1.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nodejs/no1.js b/src/nodejs/no1.js
index d51a19b..64e0593 100644
--- a/src/nodejs/no1.js
+++ b/src/nodejs/no1.js
@@ -20,7 +20,10 @@ var connectionString = config['connectionString'];
var log4js = require('log4js')(); //note the need to call the function
//log4js.addAppender(log4js.fileAppender('osm-xapi.log'), 'cheese');
-var log.= log4js.getlog.'global');
+var util = require('util');
+
+
+var log = log4js.getLogger('global');
log.setLevel('ALL');
log.info("server starting...");