週次のローテーション時に、logrotate がログをローテートする方法を指定する
Issue
- ログの保存は 90 日間に設定されていますが、実際にローテーションが利用できる期間が 90 日より短くなります。
/etc/logrotate.confには以下のオプションが設定されていますが、ログが利用できる日数はどのぐらいですか?
weekly
rotate 12
Environment
- Red Hat Enterprise Linux (すべてのリリース)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
