summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-24 10:59:50 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-24 10:59:50 +0000
commit7921adb8546b7253a75cbe0e6e792700d3038651 (patch)
tree62402c33563d23dc9f2de0dafb01778f38a0b3f8
parent71f6ce680c9183f66d8e726a17373115b59f96f2 (diff)
downloaddefinitions-7921adb8546b7253a75cbe0e6e792700d3038651.tar.gz
Log webapp to a file, for multi-line
-rwxr-xr-xtrove.configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/trove.configure b/trove.configure
index bbc5e1e7..2d0e2e6d 100755
--- a/trove.configure
+++ b/trove.configure
@@ -151,7 +151,9 @@ echo "Create Lorry Controller config"
install -d "$ROOT/etc/lorry-controller"
cat <<EOF > "$ROOT/etc/lorry-controller/webapp.conf"
[config]
-log = syslog
+log = /var/log/lorry-controller-webapp.log
+log-max = 100M
+log-keep = 10
log-level = debug
statedb = /home/lorry/webapp.db
configuration-directory = /home/lorry/confgit