summaryrefslogtreecommitdiff
path: root/taginfo-config-example.json
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-20 20:20:09 +0100
committerJochen Topf <jochen@topf.org>2013-01-20 20:20:09 +0100
commit3e52b3ae5a25261af4b888747a3c91a9b8056c9b (patch)
tree1fe985e8c6120c20f7e39a7b6db6e90805aaebff /taginfo-config-example.json
parentefd17ad0d6200faa8586077d622359fb64c2ad22 (diff)
downloadtaginfo-3e52b3ae5a25261af4b888747a3c91a9b8056c9b.tar
taginfo-3e52b3ae5a25261af4b888747a3c91a9b8056c9b.tar.gz
Make SQL query logging configurable
Diffstat (limited to 'taginfo-config-example.json')
-rw-r--r--taginfo-config-example.json4
1 files changed, 4 insertions, 0 deletions
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.