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

Don't use "CRITICAL" stream for standard logging #219

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jamiecook
Copy link
Collaborator

@jamiecook jamiecook commented May 18, 2023

This should help to address confusion like #214
We could also do something like

level = Info
if "WARNING" in line:
    level = Warning
if "ERROR" in line:
    level = Critical
log(line, level)

NOTE: Code is currently untested.

@jamiecook jamiecook changed the title Not critical Don't use "CRITICAL" stream for standard logging May 18, 2023
@jamiecook jamiecook requested a review from pedrocamargo May 18, 2023 19:37
@jamiecook jamiecook marked this pull request as draft May 18, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants