LoginSignup
0
1

More than 5 years have passed since last update.

Let's Encrypt のログローテイトを --max-log-backups オプションで制御する

Last updated at Posted at 2018-11-13

ディフォルトだと /var/log/letsencrypt/ 以下のログは 1000個を越えないとローテイトされないが、 certbot 実行時に --max-log-backups オプションをつけることで指定した数でログローテイトが可能になっていた。

以下はログを20個残す場合の例。

certbot-auto renew --force-renew --max-log-backups 20
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1