From 3e4f1f4693545b2c82e75c189714e9a513e4e532 Mon Sep 17 00:00:00 2001 From: j4nk Date: Thu, 16 Jan 2025 21:57:34 -0500 Subject: [PATCH] Added logging stuff --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index dbda3f8..06511f7 100644 --- a/main.py +++ b/main.py @@ -150,7 +150,7 @@ class QBittorrentAPICaller(): if __name__ == '__main__': - logging.basicConfig(level=logging.INFO, + logging.basicConfig(filename="./log.log", level=logging.INFO, format='%(levelname)-8s %(message)s') config = configparser.ConfigParser()