From 3e52b3ae5a25261af4b888747a3c91a9b8056c9b Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 20 Jan 2013 20:20:09 +0100 Subject: Make SQL query logging configurable --- taginfo-config-example.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'taginfo-config-example.json') diff --git a/taginfo-config-example.json b/taginfo-config-example.json index 053426e..69d5893 100644 --- a/taginfo-config-example.json +++ b/taginfo-config-example.json @@ -57,6 +57,10 @@ "planetfile": "/osm/planet/var/current-planet.osm.pbf" } }, + "logging": { + // SQL queries longer than this many seconds are logged + "min_duration": 0.01 + }, // For compiling tagstats. "tagstats": { // Extra compilerflags, for instance to find Osmium. -- cgit v1.2.3