Skip to content

Replace production print calls with structured logging#373

Open
silentgeckoaudit3801 wants to merge 6 commits into
Quantarq:mainfrom
silentgeckoaudit3801:refactor/structured-logging-no-print-225
Open

Replace production print calls with structured logging#373
silentgeckoaudit3801 wants to merge 6 commits into
Quantarq:mainfrom
silentgeckoaudit3801:refactor/structured-logging-no-print-225

Conversation

@silentgeckoaudit3801

Copy link
Copy Markdown

Summary

  • replace the remaining production print() calls in web_app helpers with the existing structured logger
  • keep example/debug output behind event-named logger calls
  • add a static regression test that scans production Python paths for print(

Validation

  • Static GitHub API scan of quantara/web_app and quantara/soroban production Python files found no remaining print( calls on this branch
  • Compare is 0 commits behind upstream main

Closes #225

if "print(" in text:
offenders.append(str(path))

assert offenders == [] No newline at end of file
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.

Replace print() in production paths with structlog

2 participants