fix: os.chmod 0666 sur réouverture de access.log

This commit is contained in:
bolbol committed 2026-10-12 09:35:45 +02:00
1 parent a152e5a33f
commit 5b1bc11f7a
1 file changed
+4
+4
View File
@@ -86,6 +86,10 @@ class WatchedRotatingFileHandler(logging.handlers.RotatingFileHandler):
except Exception:
pass
self.stream = self._open()
try:
os.chmod(self.baseFilename, 0o666)
except Exception:
pass
self._statstream()
def emit(self, record):