I have a python script and it has a logger logger = logging.getLogger(__name__) I have imported many modules in the script . I wish to have a separate logger for all the imported modules. something like import_logger = logging.getLogger(**all_modules_excluding__name__**)
I wish to have separate loggers for the module ( that i am inside) and for the modules ( which I have imported) how to do that ?