replace deperacated md5 lib with hashlib and delete phantom logging.py