Above line will install rich-traceback to system, when this file is executed. Meanwhile, simple import springs will already execute nicknames.py, which means, importing springs will already install rich handler, while there is no "uninstall" mechanism for it.
So, is it possible to avoid configure_logging at global scope?
In
nicknames.py
, there is a lineAbove line will install rich-traceback to system, when this file is executed. Meanwhile, simple
import springs
will already executenicknames.py
, which means, importingsprings
will already install rich handler, while there is no "uninstall" mechanism for it.So, is it possible to avoid
configure_logging
at global scope?