Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit b49a985

Browse files
author
Luke Hinds
authored
Merge pull request #558 from protokoul/fix/incorrect-datetime-format-windows
fix: incorrect datetime format for strftime() in windows
2 parents f3b57b1 + 8941135 commit b49a985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegate/codegate_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def setup_logging(
8282
# Adds log level and timestamp to log entries
8383
shared_processors = [
8484
structlog.processors.add_log_level,
85-
structlog.processors.TimeStamper(fmt="%Y-%m-%dT%H:%M:%S.%03dZ", utc=True),
85+
structlog.processors.TimeStamper(fmt="%Y-%m-%dT%H:%M:%S.%fZ", utc=True),
8686
add_origin,
8787
structlog.processors.CallsiteParameterAdder(
8888
[

0 commit comments

Comments
 (0)