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

caom2: checksum module alters logging configuration #98

Open
grahambell opened this issue Oct 31, 2018 · 0 comments
Open

caom2: checksum module alters logging configuration #98

grahambell opened this issue Oct 31, 2018 · 0 comments

Comments

@grahambell
Copy link

The caom2.checksum module reconfigures the standard library logging utility by calling logging.basicConfig() at line 123. This can interfere with the logging options of client applications.

(One specific way this can go wrong is if a client application itself uses logging.basicConfig() after importing the caom2 modules, then the documentation for that function indicates that the second call should do nothing, so the client's logging options don't take effect.) Typically it would only be the application which configures logging rather than libraries also doing so.

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

No branches or pull requests

1 participant