import logging logging.getLogger().setLevel(logging.DEBUG) # TODO: configure supervisord loglevel from here