Replace print() with logging module throughout server scripts #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/minerva#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Both server scripts use bare
print()throughout (~25 calls invoice_server.py, ~20 invoice_server_enhanced.py). CF convention is theloggingmodule. The.env.examplealready definesLOG_LEVELandLOG_FILEbut the server code never reads them.Action
print()withlogging.info/warning/error/debugLOG_LEVELandLOG_FILEfrom config at startuplogging.basicConfigor a structured loggerReferences