mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
@@ -10,7 +10,7 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
### Changed
|
||||
|
||||
*
|
||||
* If Certbot exits before setting up its usual log files, the temporary directory created to save logging information will begin with the name `certbot-log-` rather than a generic name. This should not be considered a [stable aspect of Certbot](https://certbot.eff.org/docs/compatibility.html) and may change again in the future.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user