Skip to content

Fix invalid %f datefmt in logging config causing errors on Windows#151

Open
xenacode-art wants to merge 10 commits intom2b3:testfrom
xenacode-art:fix/logging-datefmt-windows
Open

Fix invalid %f datefmt in logging config causing errors on Windows#151
xenacode-art wants to merge 10 commits intom2b3:testfrom
xenacode-art:fix/logging-datefmt-windows

Conversation

@xenacode-art
Copy link
Copy Markdown

Fix invalid %f datefmt in logging config causing errors on Windows
%f is valid in Python's datetime.strftime() but not in the C-level time.strftime() used internally by the logging module. On Windows this raises a
ValueError on every log line, flooding the terminal and making it unusable during local development.

Removed ,%f from both logging formatter configs in settings.py (lines 344 and 380).

Fixes #138

armanalam03 and others added 10 commits December 14, 2025 20:23
Sync Alphatest with Test
Sync Main with AlphaTest
Sync test with alphatest
Sync main with Alphatest
Sync AlphaTest with Test
Sync Main with Alphatest
change MAX_COMMUNITIES_PER_USER to 40
change MAX_COMMUNITIES_PER_USER to 40
@armanalam03
Copy link
Copy Markdown
Collaborator

The PR looks good, but please create a PR to the test branch and not on main branch.

@xenacode-art xenacode-art changed the base branch from main to test March 22, 2026 20:37
@xenacode-art
Copy link
Copy Markdown
Author

thank you @armanalam03 i have retargeted it, i will do same for all the PR i opened too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid datefmt "%f" in DEBUG logging config causes console flood on Windows

2 participants