python logging handler setlevel