Set Logging Level In Python For All Selected Lines