This commit is contained in:
pascal
2026-04-09 16:40:32 +02:00
parent 4d38d337ec
commit 94f4a264bf

View File

@@ -107,7 +107,7 @@ func (m *managerImpl) CleanupOldAccessLogs(ctx context.Context, retentionDays in
// StartPeriodicCleanup starts a background goroutine that periodically cleans up old access logs
func (m *managerImpl) StartPeriodicCleanup(ctx context.Context, retentionDays, cleanupIntervalHours int) {
if retentionDays < 0 {
log.WithContext(ctx).Debug("periodic access log cleanup disabled: retention days is 0 or negative")
log.WithContext(ctx).Debug("periodic access log cleanup disabled: retention days is negative")
return
}