Coloured log output's WARNING colour is black

Open
#34 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
observability

Research direction

The issue does not name a file or test. Start by locating Spectractor's coloured logging configuration and reproduce WARNING output on a black terminal. Done means WARNING is readable and visibly distinct from the current black colour.

Written by the indexing model from the issue text.

Description

The colourful output logs are really nice, but the colour of WARNING is black. Many people (including myself) have black terminals, and I didn't realise that some of the WARNING level messages were warnings until I copied and pasted the text and happened to see this pop up!

I would suggest maybe changing to red, as only the sickest of people would have an #ff0000 background in their terminal.

Dominant language
Python
Stars
16
Forks
9
Avg merge
19h 2m
Merged PRs (30d)
1

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.

More from LSSTDESC/Spectractor

All issues in LSSTDESC/Spectractor

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.