From e84e9a02c6da27cdac7a6f22f5907b770d69c74a Mon Sep 17 00:00:00 2001 From: Juice-XIJ Date: Sun, 1 Jan 2023 00:03:55 -0800 Subject: [PATCH] reduce line of log to 200 (#54) --- logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger.py b/logger.py index c34aa91..5737ec7 100644 --- a/logger.py +++ b/logger.py @@ -17,8 +17,8 @@ def __init__(self, text: ScrolledText): self.text.tag_config(logging.getLevelName(logging.WARNING), foreground='#fca862') self.text.tag_config(logging.getLevelName(logging.ERROR), foreground='#ff3333') self.text.tag_config(logging.getLevelName(logging.CRITICAL), foreground='#b30000') - self.line_limitation = 6000.0 - self.line_check = 6500.0 + self.line_limitation = 200.0 + self.line_check = 250.0 def num_lines(self): return int(self.text.index('end').split('.')[0]) - 1