time in nonverbose logging
parent
94774b3f26
commit
766275c40d
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue