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
Prevent logging auto-setup #1305
Comments
Hi @vigenere23 and thanks for reaching out. If you are not using See here |
Thanks for the info :) That does work, but I think it's still not ideal to prevent the logging (requires a manual step after each installation). |
Totally true! Thanks for your feedback. I've created an issue for that #1331 |
Is your feature request related to a problem? Please describe.
When importing anything from Rubrik, it automatically setups the Python logging, which surpress any configuration I might have done. This is currently done at line 70 of
__init__.py
with the commandconfigure_logging()
.Describe the solution you'd like
I would like to be able to manually setup the logging if needed, instead of having it be done automatically on import. For example, calling
rubrix.configure_logging()
manually in my script.Describe alternatives you've considered
I've tried configuring my logging after the import of Rubrix, but it still doesn't work. I've also tried importing the classes directly (like
Text2TextRecord
) without using the singleton from the__init__,py
, but it still doesn't work.The text was updated successfully, but these errors were encountered: