From a391a34631059b0b398f90f8ccac22e7054ad5fe Mon Sep 17 00:00:00 2001 From: osirisinferi Date: Tue, 21 Dec 2021 17:20:01 -0400 Subject: [PATCH] Add appending behaviour of `max-log-backups = 0` (#9146) --- certbot/docs/using.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/certbot/docs/using.rst b/certbot/docs/using.rst index c9bbaf324..07406c356 100644 --- a/certbot/docs/using.rst +++ b/certbot/docs/using.rst @@ -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 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 -``--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 certbot's internal log rotation in favor of a more traditional