Skip to main content

Module log_retention

Module log_retention 

Source
Expand description

Log-file retention, shared by srv and the CEF host (each rotates its own logs into its own directory).

Functions§

cleanup_old_logs
Delete log files (.log.) older than days to prevent unbounded growth. Only touches files with .log. in the name — pointer files and other data are safe.