From 18b62db8e8cf97f0a9bbb02cbde02239db1357ac Mon Sep 17 00:00:00 2001 From: slomo Date: Sat, 22 Jan 2011 13:59:07 +0100 Subject: loglevel is now read from config --- src/nodejs/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3