From 766275c40d06bc9c5a5b5d592baf29b6755f01a4 Mon Sep 17 00:00:00 2001 From: JoYo <> Date: Wed, 5 Jan 2022 19:27:31 -0500 Subject: [PATCH] time in nonverbose logging --- banana/scripts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/banana/scripts.py b/banana/scripts.py index 98cf4ca..c33d89a 100644 --- a/banana/scripts.py +++ b/banana/scripts.py @@ -35,7 +35,7 @@ def periodical_script(): format = "%(asctime)s %(filename)s:%(lineno)d %(message)s" else: level = logging.INFO - format = "%(message)s" + format = "%(asctime)s %(message)s" if args.log: logging.basicConfig( @@ -106,7 +106,7 @@ def ttc(): format = "%(asctime)s %(filename)s:%(lineno)d %(message)s" else: level = logging.INFO - format = "%(message)s" + format = "%(asctime)s %(message)s" if args.log: logging.basicConfig(