diff --git a/ks_includes/functions.py b/ks_includes/functions.py index 5624e53d..929a0985 100644 --- a/ks_includes/functions.py +++ b/ks_includes/functions.py @@ -159,7 +159,7 @@ def setup_logging(log_file, software_version): stdout_hdlr.setFormatter(stdout_fmt) fh = listener = None try: - fh = KlipperScreenLoggingHandler(software_version, log_file, maxBytes=8000000, backupCount=1) + fh = KlipperScreenLoggingHandler(software_version, log_file, maxBytes=4194304, backupCount=1) formatter = logging.Formatter('%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s') fh.setFormatter(formatter) listener = logging.handlers.QueueListener(queue, fh, stdout_hdlr)