Merge pull request #2900 from InspectorCaracal/logger-rotate-patch

Fix logger recursion
This commit is contained in:
Griatch 2022-10-05 09:01:14 +02:00 committed by GitHub
commit bd178669b9

View file

@ -351,7 +351,7 @@ class WeeklyLogFile(logfile.DailyLogFile):
def rotate(self):
try:
self.rotate()
super().rotate()
except Exception:
log_trace(f"Could not rotate the log file {self.name}.")