From 34105fe926511893ce315fc479b0e794b456c2bc Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Sun, 29 Sep 2019 22:43:06 -0500 Subject: [PATCH] Logs: Set max size to 2MB --- misc/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/log.py b/misc/log.py index befde96..c7cc623 100644 --- a/misc/log.py +++ b/misc/log.py @@ -36,7 +36,7 @@ class Logger: self.file_handler = RotatingFileHandler( self.log_file_path, - maxBytes=1024 * 1024 * 5, + maxBytes=1024 * 1024 * 2, backupCount=5 ) self.file_handler.setFormatter(self.log_formatter)