Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'certbot/certbot/_internal/log.py')
-rw-r--r--certbot/certbot/_internal/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/certbot/certbot/_internal/log.py b/certbot/certbot/_internal/log.py
index 6d089afd4..b6b7d4601 100644
--- a/certbot/certbot/_internal/log.py
+++ b/certbot/certbot/_internal/log.py
@@ -264,7 +264,7 @@ class TempHandler(logging.StreamHandler):
"""
def __init__(self) -> None:
- self._workdir = tempfile.mkdtemp()
+ self._workdir = tempfile.mkdtemp(prefix="certbot-log-")
self.path = os.path.join(self._workdir, 'log')
stream = util.safe_open(self.path, mode='w', chmod=0o600)
super().__init__(stream)