1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

Logging: Always have the rotated logfiles at DEBUG level

This commit is contained in:
Athanasius 2020-09-08 09:15:43 +01:00
parent 717253e7fa
commit 45b8d5f164

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)