Added logging.py stuff