Python Logging Log Level From String To Binary