human
Dynamically changing log level in python without restarting the application
assistant
Here is some code to change log level dynamically to 'DEBUG' without restarting the application

logging.getLogger().setLevel(logging.DEBUG)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.