From fff7eb46660a1b880f8014ccc97dae0bf509e907 Mon Sep 17 00:00:00 2001 From: God601 Date: Wed, 22 Feb 2023 11:47:32 -0500 Subject: [PATCH] fixing logs for the read.py - Thanks to Dniel97 --- read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/read.py b/read.py index ffc4812..cec8634 100644 --- a/read.py +++ b/read.py @@ -85,7 +85,7 @@ if __name__ == "__main__": log_fmt = logging.Formatter(log_fmt_str) logger = logging.getLogger("reader") - fileHandler = TimedRotatingFileHandler("{0}/{1}.log".format(config.server.logs, "reader"), when="d", backupCount=10) + fileHandler = TimedRotatingFileHandler("{0}/{1}.log".format(config.server.log_dir, "reader"), when="d", backupCount=10) fileHandler.setFormatter(log_fmt) consoleHandler = logging.StreamHandler()