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

fix: incorrect datetime format for strftime() in windows #558

Merged

Conversation

protokoul
Copy link
Contributor

The datetime format used with Structlog's configuration inside setup_logging() in src/codegate/codegate_logging.py is passed to strftime(), which works on Linux but returns an error on Windows. Changed the datetime format so it works on Linux as well as Windows.

Resolves #556

The datetime format passed to Structlog's configuration
inside setup_logging() in src/codegate/codegate_logging.py
works on Linux but returns an error on Windows. Changed
the datetime format so it works on Linux as well as Windows.
@lukehinds lukehinds merged commit b49a985 into stacklok:main Jan 13, 2025
@lukehinds
Copy link

@protokoul this will ship in the next release coming today

@protokoul
Copy link
Contributor Author

Thank you @lukehinds. This is awesome 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid format string error when starting the server on Windows
2 participants