import os,logging ##LOGGING OPTIONS LOG_LEVEL = os.getenv("LOG_LEVEL") or "DEBUG" FORMAT = '%(asctime)s [%(levelname)s] %(message)s' log = logging log.basicConfig(format=FORMAT,level=LOG_LEVEL)