aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nodejs/main.js2
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);