logging
is a package. Modules in packages aren't imported until you (or something in your program) imports them. You don't need both import logging
and import logging.config
though: just import logging.config
will make the name logging
available already.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…