From 17a5f5b43e5403d32e3be8d101b9d1e7e28468cb Mon Sep 17 00:00:00 2001 From: facat Date: Wed, 26 Jun 2019 20:31:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9log=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- download_speed/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_speed/log.py b/download_speed/log.py index 924a555..f31e057 100644 --- a/download_speed/log.py +++ b/download_speed/log.py @@ -20,7 +20,7 @@ _formatter = logging.Formatter("%(asctime)s : %(name)s : %(levelname)s : %(messa _formatter.converter = _custom_time streamHd.setFormatter(_formatter) _main_dir = find_main() -_log_file_path = "{0}/log/fund_log.log".format(_main_dir) +_log_file_path = "{0}/log/info.log".format(_main_dir) rotatingFd = RotatingFileHandler(_log_file_path, maxBytes=8000 * 1024, backupCount=10) rotatingFd.setFormatter(_formatter)