diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-01-21 19:15:40 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-01-21 19:15:40 +0100 |
commit | 5b964c0958238cdeaf2f17eb4e183aaf77b60b24 (patch) | |
tree | 01f7daf0711e363b7ce508a8b557ffbf8d0ab0fb /src | |
parent | 14b0aaf818ec6b0300c10a95fe9b2aec278adc50 (diff) | |
download | osm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.tar.gz osm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.tar.xz osm-xapi-5b964c0958238cdeaf2f17eb4e183aaf77b60b24.zip |
log level configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/nodejs/no1.js | 2 |
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..."); |