mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Merge pull request #3516 from certbot/increase-log-count
Include log retention count to 1000.
This commit is contained in:
commit
a03834ffcd
1 changed files with 1 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ def setup_log_file_handler(config, logfile, fmt):
|
|||
log_file_path = os.path.join(config.logs_dir, logfile)
|
||||
try:
|
||||
handler = logging.handlers.RotatingFileHandler(
|
||||
log_file_path, maxBytes=2 ** 20, backupCount=10)
|
||||
log_file_path, maxBytes=2 ** 20, backupCount=1000)
|
||||
except IOError as error:
|
||||
raise errors.Error(_PERM_ERR_FMT.format(error))
|
||||
# rotate on each invocation, rollover only possible when maxBytes
|
||||
|
|
|
|||
Loading…
Reference in a new issue