mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
Include timestamps in log messages
This commit is contained in:
parent
3d5a1d3540
commit
f548dbce7c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue