project-codeflare / project-codeflare/codeflare-sdk

Use python logging instead of print statements

Open
#329 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35
Forks
66
Avg merge
48m
Merged PRs (30d)
7

Description

Name of Feature or Improvement

Instead of printing messages use python logging library

Description of Problem the Feature Should Solve

the logging library offers more fine grain control over which messages are seen by a user (debug, warnings, info, etc.) and also integrates with third party tools

Describe the Solution You Would Like to See

Instances of print statements should be replaced by logging.info, logging.warn, or logging.debug

Describe Alternatives You Have Considered

Leave as is and continue using print statements.

Contributor guide

Open the contributing guide

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

Search the repository for Python print statements and inspect the surrounding code to understand which messages are user-facing. Review how Python logging levels apply, then replace the relevant prints with logging calls at appropriate levels and verify that no targeted print statements remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.