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

MNT: Improve logging set up #201

Merged
merged 1 commit into from
Mar 29, 2018
Merged

Conversation

dopplershift
Copy link
Member

Instead of manually adding a stream handler, use basicConfig(), which sets up a default formatter and stream handler. It also allows us to set a default logging level, which makes it easier for users to override. It's not entirely the same as before, as we were setting different level for different modules. But at least in this case, user settings for logging will take precedence, regardless of whether they set it before or after they import siphon modules.

Instead of manually adding a stream handler, use basicConfig(), which
sets up a default formatter and stream handler. It also allows us to set
a default logging level, which makes it easier for users to override.
@jrleeman jrleeman merged commit f4a42a7 into Unidata:master Mar 29, 2018
@dopplershift dopplershift deleted the improve-logging branch March 29, 2018 16:00
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.

2 participants