Include timestamps in log messages
This commit is contained in:
parent
3d5a1d3540
commit
f548dbce7c
|
@ -38,7 +38,8 @@ import logging
|
||||||
# Setup the logger
|
# Setup the logger
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.DEBUG,
|
level=logging.DEBUG,
|
||||||
format="[%(levelname)-8s] %(module)s:%(lineno)d %(message)s"
|
format="[%(levelname)-8s] %(asctime)s %(module)s:%(lineno)d %(message)s",
|
||||||
|
datefmt="%H:%M:%S"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get the logger
|
# Get the logger
|
||||||
|
|
Loading…
Reference in New Issue