changed logging timestamp to "iso"

pull/326/head
dj2ls 2023-01-04 12:48:36 +01:00
parent 252fe73d68
commit 93d61b0f25
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ def setup_logging(filename: str = "", level: str = "DEBUG"):
"""
timestamper = structlog.processors.TimeStamper(fmt="%Y-%m-%d %H:%M:%S")
timestamper = structlog.processors.TimeStamper(fmt="iso")
pre_chain = [
# Add the log level and a timestamp to the event_dict if the log entry
# is not from structlog.