ashrafee-dev / ashrafee-dev/scamshield-api
Replace print statements with logging
Open
Beginner friendly
Nobody has claimed this yet.
good first issue
- Dominant language
- Python
- Stars
- 3
- Forks
- 10
- Avg merge
- 14h 44m
- Merged PRs (30d)
- 9
Description
Goal
Use Python logging instead of direct print() calls in runtime code.
Acceptance criteria
- Replace the rate-limit timestamp print.
- Replace the WebSocket disconnect print.
- Use useful log levels and messages without logging secrets or message contents.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the runtime code for the rate-limit timestamp print and the WebSocket disconnect print. Replace those direct prints with Python logging using useful levels and messages, without including secrets or message contents. Done means both identified prints are handled and the logging remains safe.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100