From 5b964c0958238cdeaf2f17eb4e183aaf77b60b24 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 21 Jan 2011 19:15:40 +0100 Subject: log level configuration --- src/nodejs/no1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..."); -- cgit v1.2.3