I am new to this logging module.
logging.disable = True
logging.disable is method, not a configurable attribute.
You can disable logging with :
To disable all, call:
This will disable all logs of level DEBUG and below.
To enable all logging, do
logging.disable(logging.NOTSET) as it is the lowest level.