Logs: Set max size to 2MB

pull/105/head
desimaniac 5 years ago
parent 5b17b35658
commit 34105fe926

@ -36,7 +36,7 @@ class Logger:
self.file_handler = RotatingFileHandler( self.file_handler = RotatingFileHandler(
self.log_file_path, self.log_file_path,
maxBytes=1024 * 1024 * 5, maxBytes=1024 * 1024 * 2,
backupCount=5 backupCount=5
) )
self.file_handler.setFormatter(self.log_formatter) self.file_handler.setFormatter(self.log_formatter)

Loading…
Cancel
Save