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

Change logging default level and logic #541

Closed
akrherz opened this issue Jan 13, 2022 · 0 comments · Fixed by #542
Closed

Change logging default level and logic #541

akrherz opened this issue Jan 13, 2022 · 0 comments · Fixed by #542
Assignees
Labels

Comments

@akrherz
Copy link
Owner

akrherz commented Jan 13, 2022

Present Behaviour

The default log level is INFO unless the library detects that the code is running from an interactive shell and then the default level is DEBUG.

Problem

This is inflexible to not allow any log differentiation when running during an interactive shell. DEBUG should be reserved for development and not runtime.

Change

Change the interactive shell default log level to INFO and the non-interactive to WARNING.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant