From b0e71a4f11dcb4f1a6d278716a325c1fc08337c9 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 17 Dec 2021 21:05:20 -0600 Subject: [PATCH] Update log settings --- Caddyfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index eabcdcb..0a8d755 100644 --- a/Caddyfile +++ b/Caddyfile @@ -21,7 +21,11 @@ (log) { log { - output file /var/log/caddy/access.log + output file /var/log/caddy/access.log { + roll_size 1GiB + roll_keep 5 + roll_keep_for 168h + } } }