time in nonverbose logging

master
JoYo 2022-01-05 19:27:31 -05:00
parent 94774b3f26
commit 766275c40d
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ def periodical_script():
format = "%(asctime)s %(filename)s:%(lineno)d %(message)s" format = "%(asctime)s %(filename)s:%(lineno)d %(message)s"
else: else:
level = logging.INFO level = logging.INFO
format = "%(message)s" format = "%(asctime)s %(message)s"
if args.log: if args.log:
logging.basicConfig( logging.basicConfig(
@ -106,7 +106,7 @@ def ttc():
format = "%(asctime)s %(filename)s:%(lineno)d %(message)s" format = "%(asctime)s %(filename)s:%(lineno)d %(message)s"
else: else:
level = logging.INFO level = logging.INFO
format = "%(message)s" format = "%(asctime)s %(message)s"
if args.log: if args.log:
logging.basicConfig( logging.basicConfig(