Add request log using jetty. (Default: disabled)
Configurable via kustvakt.conf
log.request.enabled = true
Change-Id: I2ebb6c7a83aa946ba2ec7d91c608978fe48f9cd5
diff --git a/src/main/resources/kustvakt-lite.conf b/src/main/resources/kustvakt-lite.conf
index ba32850..4649206 100644
--- a/src/main/resources/kustvakt-lite.conf
+++ b/src/main/resources/kustvakt-lite.conf
@@ -1,3 +1,6 @@
+# This is the default configuration for Kustvakt lite version
+# Copy this file to data/kustvakt-lite.conf and adjust settings
+
# Krill settings
# index dir
@@ -17,7 +20,6 @@
current.api.version = v1.0
# multiple versions separated by space
supported.api.version = v1.0
-
# default
kustvakt.base.url=/api/*
@@ -25,6 +27,12 @@
server.port=8089
server.host=localhost
+# log
+log.request.enabled = false
+
+# Cache
+cache.total.results.enabled = true
+
# Pipe (optional)
# pipe.host=https://korap.ids-mannheim.de (default)
diff --git a/src/main/resources/kustvakt.conf b/src/main/resources/kustvakt.conf
index 61cad26..31642af 100644
--- a/src/main/resources/kustvakt.conf
+++ b/src/main/resources/kustvakt.conf
@@ -1,3 +1,6 @@
+# This is the default configuration for Kustvakt full version
+# Copy this file to data/kustvakt.conf and adjust settings
+
#Krill
krill.indexDir= sample-index
@@ -21,10 +24,17 @@
server.port=8089
server.host=localhost
+# log
+log.request.enabled = false
+
+# Cache
+cache.total.results.enabled = true
+
# Timeout
# timeout.guest = 10000 (default)
# timeout.login = 90000 (default)
+
# Pipe (optional)
# pipe.host=https://korap.ids-mannheim.de
@@ -39,6 +49,7 @@
# Virtual corpus and queries
max.user.persistent.queries = 5
+# max.token.context.size = 40
vc.list.statistics.enabled = false
# Availability regex only support |
@@ -67,6 +78,7 @@
# scopes separated by space
oauth2.default.scopes = search match_info
oauth2.client.credentials.scopes = client_info
+oauth2.initial.super.client = false
## see SecureRandom Number Generation Algorithms
## optional