Bug description: lib389 was calling logging.basicConfig()
at several places at module scope level. This was causing
imports from these modules to add an unwanted handler
to the root logger of the python's standard logging module.
Fix description: Set up logging only in the scripts that are
using lib389.
ALso, remove unused imports in init.py
Bug description: lib389 was calling
logging.basicConfig()at several places at module scope level. This was causing
imports from these modules to add an unwanted handler
to the root logger of the python's standard logging module.
Fix description: Set up logging only in the scripts that are
using lib389.
ALso, remove unused imports in init.py
https://pagure.io/389-ds-base/issue/49844
Reviewed by: spichugi