python logging handler set level