mirror of https://github.com/DJ2LS/FreeDATA.git
changed logging timestamp to "iso"
parent
252fe73d68
commit
93d61b0f25
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue