How i configure logrotate to not delete my log files after rotation?
Question
There's a way to do this?
Solution
Set a really large value for the rotate
argument in the configuration section.
Even if you use a daily rotation, a value of rotate 365000
would provide for a thousand years of saved logs -- and chances are you may have switched your OS by then.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow