mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-28 19:10:35 +00:00
Include timestamps in log messages
This commit is contained in:
parent
3d5a1d3540
commit
f548dbce7c
@ -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…
x
Reference in New Issue
Block a user