summaryrefslogtreecommitdiff
path: root/caddytest/integration
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-01-04 14:11:27 -0500
committerGitHub <noreply@github.com>2022-01-04 12:11:27 -0700
commit249adc1c872ae46e640cfb7c330e332229d8d32a (patch)
treed9102381e448710a3530596f73afbf93036ff4d7 /caddytest/integration
parente9dde230247ec5525d4c3803ff99c97e0dc8e348 (diff)
logging: Support turning off roll compression via Caddyfile (#4505)
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 2d146f9..5762c92 100644
--- a/caddytest/integration/caddyfile_adapt/log_roll_days.txt
+++ b/caddytest/integration/caddyfile_adapt/log_roll_days.txt
@@ -3,6 +3,7 @@
log {
output file /var/log/access.log {
roll_size 1gb
+ roll_uncompressed
roll_keep 5
roll_keep_for 90d
}
@@ -20,6 +21,7 @@ log {
"writer": {
"filename": "/var/log/access.log",
"output": "file",
+ "roll_gzip": false,
"roll_keep": 5,
"roll_keep_days": 90,
"roll_size_mb": 954