
Configure logrotate: retention, copytruncate and Docker logs
Understand logrotate's rotation counts, time and size rules, copytruncate's loss window, dated archives, permissions and reopen scripts. Verify scheduled and manual runs, then set separate journald and Docker log budgets and diagnose full-disk failures.








