In my code, I wanted to create the virtual environment manually by calling def cli_run(args, options=None): , but when I ran it, I found that my log could not be obtained. Through searching, I found that you clarified the root log in the code, which made me unable to use my log object after running.
I wonder what you're doing this for? Do you use custom Log objects instead of cleaning the root Log ?
We're using our own log reporters to guarantee output, without clearing the logs we might generate our output in unwanted locations. For your use case, I think would be helpful to have an option to disable log setup. Though now one might argue that the output controlling flags would be unrespected.