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

SOLOMotorControllers break logging through logging.shutdown() and importlib.reload() #17

Open
DRL opened this issue Jun 9, 2024 · 0 comments

Comments

@DRL
Copy link

DRL commented Jun 9, 2024

Hey,

during __init__ in both controllers, the logging module is shutdown and reloaded.

This breaks all logging infrastructure which a user might have defined beforehand.

Could you remove the following lines:

logging.shutdown()
reload(logging)

logging.shutdown()
reload(logging)

cheers,

dom

@DRL DRL changed the title SOLOMotorControllers break logging through logging.shutdow() and importlib.reload() SOLOMotorControllers break logging through logging.shutdown() and importlib.reload() Jun 10, 2024
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