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

Remove unnecessary logging package and set log level in root #156

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

YrrepNoj
Copy link
Member

@YrrepNoj YrrepNoj commented Nov 4, 2021

This removes the logging package that I meant to remove when we realized we didn't need to wrap the Logrus object.

@RothAndrew do you have any ideas on how we can create a test to verify the CLI was able to interpret and set the correct logging level?

@YrrepNoj YrrepNoj self-assigned this Nov 4, 2021
@YrrepNoj YrrepNoj linked an issue Nov 4, 2021 that may be closed by this pull request
@jeff-mccoy
Copy link
Member

We could just add a message acknowledging when the user changes the log level and test for that. It would be better UX anyway.

jeff-mccoy
jeff-mccoy previously approved these changes Nov 4, 2021
Copy link
Member

@jeff-mccoy jeff-mccoy left a comment

Choose a reason for hiding this comment

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

LGTM, would just suggest consider adding some acknowledgment to the user that they changed the log level, would make testing cleaner too.

@YrrepNoj
Copy link
Member Author

YrrepNoj commented Nov 5, 2021

/test all

jeff-mccoy
jeff-mccoy previously approved these changes Nov 5, 2021
@jeff-mccoy
Copy link
Member

@YrrepNoj note the merge conflict currently

@YrrepNoj
Copy link
Member Author

YrrepNoj commented Nov 5, 2021

/test all

@jeff-mccoy jeff-mccoy merged commit ffc0733 into master Nov 5, 2021
@jeff-mccoy jeff-mccoy deleted the bug/fix-log-levels branch November 5, 2021 20:31
jeff-mccoy pushed a commit that referenced this pull request Feb 8, 2022
Noxsios pushed a commit that referenced this pull request Mar 8, 2023
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.

Log Level settings don't work as expected
2 participants