Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up console upon firing up the CLI #28134

Merged
merged 5 commits into from
Apr 23, 2024
Merged

chore: clean up console upon firing up the CLI #28134

merged 5 commits into from
Apr 23, 2024

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Apr 18, 2024

Summary

Currently there's some irrelevant DEBUG-level type logging happening when using the CLI, here I'm doing the following things:

  • setting the default logging level to INFO, which is the normal/sane default usually used in software
  • downgrading unimportant messages in the console from INFO to DEBUG
  • adding a dash of color on the title (bolded-white) and config loading INFO (cyan)
  • turning off load limiter RATELIMIT_ENABLED to False when not in a production environment (added a note to UPDATING.md for that)

Screenshots

Screenshot 2024-04-18 at 3 34 24 PM Screenshot 2024-04-18 at 3 30 46 PM

Currently there's some irrelevant DEBUG-level type logging happening
when using the CLI, here I'm doing the following things:
- setting the default logging level to INFO, which is the normal/sane
  default usually used in software
- downgrading unimportant messages in the console from INFO to DEBUG
- adding a dash of color on the title (bolded-white) and config loading INFO (cyan)
- turning off load limiter when not in a `production` environment (added
  a note to `UPDATING.md` for that)
Copy link
Member

@eschutho eschutho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mistercrunch mistercrunch merged commit 68c77d6 into master Apr 23, 2024
28 checks passed
@mistercrunch mistercrunch deleted the clean_cli branch April 23, 2024 18:43
qleroy pushed a commit to qleroy/superset that referenced this pull request Apr 28, 2024
jzhao62 pushed a commit to jzhao62/superset that referenced this pull request May 16, 2024
@jessie-ross
Copy link
Contributor

jessie-ross commented Jun 20, 2024

Hi, I have a similar PR which aims to further clean up default logging: #27777

@jessie-ross jessie-ross mentioned this pull request Jun 20, 2024
9 tasks
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants