[Answer]-Why is __import__ causing my program to hang?

1👍

I suggest using the default Django LOGGING setting to control logging. For development, starting the server with manage.py runserver will automatically reload Django if any files are changed, including the settings file with the logging configuration. In practice it works quite well!

https://docs.djangoproject.com/en/dev/topics/logging/#examples

Leave a comment