I am looking for a generic way to hard-cap erratically growing logfiles. The existing answers (linked below) suggest using a polling algo with logrotate, but that approach does not enforce a hard limit (as files can get pretty big even within one minute).
Does anyone know of a solution or implementation? If nothing exists, why not?
Related questions:
0 Answers