mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
logging.basicConfig(
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue