Replace prints with logging module

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Search the repository for print calls first; the issue names no files or tests. Review each call's intended error or info stream, then verify that all replacements use the logging module with errors on stderr and info on stdout.

Written by the indexing model from the issue text.

Description

enhancement

We should be logging errors to stderr and info to stdout. Let's replace all prints with appropriate use of the logging module. Upstream this'll help nextline, which handles the two streams differently.

Dominant language
Python
Stars
0
Forks
0
Avg merge
17h 32m
Merged PRs (30d)
1

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.

More from simonsobs/sorunlib

All issues in simonsobs/sorunlib

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.