Translated message

A translation of this page exists in English.

週次のローテーション時に、logrotate がログをローテートする方法を指定する

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content