handler.setLevel (logging.debug) No funciona Python

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