mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Add appending behaviour of max-log-backups = 0 (#9146)
This commit is contained in:
@@ -1151,7 +1151,8 @@ certbot will begin rotating logs once there are 1000 logs in the log directory.
|
|||||||
Meaning that once 1000 files are in ``/var/log/letsencrypt`` Certbot will delete
|
Meaning that once 1000 files are in ``/var/log/letsencrypt`` Certbot will delete
|
||||||
the oldest one to make room for new logs. The number of subsequent logs can be
|
the oldest one to make room for new logs. The number of subsequent logs can be
|
||||||
changed by passing the desired number to the command line flag
|
changed by passing the desired number to the command line flag
|
||||||
``--max-log-backups``.
|
``--max-log-backups``. Setting this flag to 0 disables log rotation entirely,
|
||||||
|
causing certbot to always append to the same log file.
|
||||||
|
|
||||||
.. note:: Some distributions, including Debian and Ubuntu, disable
|
.. note:: Some distributions, including Debian and Ubuntu, disable
|
||||||
certbot's internal log rotation in favor of a more traditional
|
certbot's internal log rotation in favor of a more traditional
|
||||||
|
|||||||
Reference in New Issue
Block a user