handler.setlevel (logging.debug) не работает Python

# fixed by changing 
handler.setLevel(logging.DEBUG) 
# to 
logger.setLevel(logging.DEBUG)
Abs zarzis