ashrafee-dev / ashrafee-dev/scamshield-api

Replace print statements with logging

Open Beginner friendly
#55 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.