logging.py - add setLevel for logging.