aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-01-21 19:15:40 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2011-01-21 19:15:40 +0100
commit5b964c0958238cdeaf2f17eb4e183aaf77b60b24 (patch)
tree01f7daf0711e363b7ce508a8b557ffbf8d0ab0fb
parent14b0aaf818ec6b0300c10a95fe9b2aec278adc50 (diff)
downloadosm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.tar.gz
osm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.tar.xz
osm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.zip
log level configuration
-rw-r--r--src/nodejs/no1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodejs/no1.js b/src/nodejs/no1.js
index 37e106d..631b92c 100644
--- a/src/nodejs/no1.js
+++ b/src/nodejs/no1.js
@@ -20,7 +20,7 @@ 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('ALL');
+log.setLevel(config['logLevel']);
log.info("server starting...");