From 6e23aa51b20dc13c60b5a9f36a1a6d236521ff79 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Thu, 19 Mar 2020 16:43:02 +0100 Subject: [PATCH] Add errors log --- templates/http.caddy.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/http.caddy.j2 b/templates/http.caddy.j2 index 61b46b3..783f2bf 100644 --- a/templates/http.caddy.j2 +++ b/templates/http.caddy.j2 @@ -26,6 +26,12 @@ http://{{ test_url }} rotate_keep 10 } + errors {{ caddy_logs }}/{{ test_name }}/errors.log { + rotate_size 100 + rotate_age 30 + rotate_keep 10 + } + root {{ test_code }}/ gzip {