summaryrefslogtreecommitdiff
path: root/caddytest/integration
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-02-19 17:12:28 -0500
committerGitHub <noreply@github.com>2022-02-19 15:12:28 -0700
commitc921e08296ee379da3689caa1371a3003a512648 (patch)
tree66dd89cfdc122c5ee4d01078e9fe1d374e81585d /caddytest/integration
parentddbb234d91246396b52d9de51f112ac2f5388829 (diff)
logging: Add `roll_local_time` Caddyfile option (#4583)
Diffstat (limited to 'caddytest/integration')
-rw-r--r--caddytest/integration/caddyfile_adapt/log_roll_days.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_roll_days.txt b/caddytest/integration/caddyfile_adapt/log_roll_days.txt
index 5762c92..3ead4ac 100644
--- a/caddytest/integration/caddyfile_adapt/log_roll_days.txt
+++ b/caddytest/integration/caddyfile_adapt/log_roll_days.txt
@@ -4,6 +4,7 @@ log {
output file /var/log/access.log {
roll_size 1gb
roll_uncompressed
+ roll_local_time
roll_keep 5
roll_keep_for 90d
}
@@ -24,6 +25,7 @@ log {
"roll_gzip": false,
"roll_keep": 5,
"roll_keep_days": 90,
+ "roll_local_time": true,
"roll_size_mb": 954
},
"include": [