diff options
author | slomo <steve.harrison@gmx.net> | 2011-01-22 13:59:07 +0100 |
---|---|---|
committer | slomo <steve.harrison@gmx.net> | 2011-01-22 13:59:07 +0100 |
commit | 18b62db8e8cf97f0a9bbb02cbde02239db1357ac (patch) | |
tree | f928afd46e1c9731bcbb220d0e8629c08553174e | |
parent | dd99a3158caa9c8fb31c7d6c9c0f6536376e2459 (diff) | |
download | osm-xapi-18b62db8e8cf97f0a9bbb02cbde02239db1357ac.tar.gz osm-xapi-18b62db8e8cf97f0a9bbb02cbde02239db1357ac.tar.xz osm-xapi-18b62db8e8cf97f0a9bbb02cbde02239db1357ac.zip |
loglevel is now read from config
-rw-r--r-- | src/nodejs/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodejs/main.js b/src/nodejs/main.js index 49a36f5..cedec00 100644 --- a/src/nodejs/main.js +++ b/src/nodejs/main.js @@ -254,7 +254,7 @@ myRoutes = clutch.route404([ //['GET /api/relation\\[(\\w+)=(\\w+)\\](\\[bbox=(\\d),(\\d),(\\d),(\\d)\\])$',relationBboxHandler], ]); -log.setLevel('ALL'); +log.setLevel(config.logLevel); log.info("server starting..."); opts.parse(options, true); http.createServer(myRoutes).listen(config.port, config.host); |