Logging: Always have the rotated logfiles at DEBUG level

This commit is contained in:
Athanasius committed 2020-09-08 09:15:43 +01:00
1 parent 717253e7fa
commit 45b8d5f164
1 file changed
+2 -1
+2 -1
View File
@@ -98,7 +98,8 @@ class Logger:
encoding='utf-8',
delay=False
)
# Do *NOT* set here, want logger's level to work: self.logger_channel_rotating.setLevel(loglevel)
# Yes, we always want these rotated files to be at DEBUG level
self.logger_channel_rotating.setLevel(logging.DEBUG)
self.logger_channel_rotating.setFormatter(self.logger_formatter)
self.logger.addHandler(self.logger_channel_rotating)