[management] enable access log cleanup by default (#5842)

This commit is contained in:
Pascal Fischer
2026-04-10 17:07:27 +02:00
committed by GitHub
parent ee588e1536
commit cf86b9a528
4 changed files with 23 additions and 9 deletions

View File

@@ -203,7 +203,7 @@ type ReverseProxy struct {
// AccessLogRetentionDays specifies the number of days to retain access logs.
// Logs older than this duration will be automatically deleted during cleanup.
// A value of 0 or negative means logs are kept indefinitely (no cleanup).
// A value of 0 will default to 7 days. Negative means logs are kept indefinitely (no cleanup).
AccessLogRetentionDays int
// AccessLogCleanupIntervalHours specifies how often (in hours) to run the cleanup routine.