diff --git a/services/auth.py b/services/auth.py index f4a26fa3..95d051ed 100644 --- a/services/auth.py +++ b/services/auth.py @@ -1,10 +1,12 @@ from functools import wraps import httpx +import logging from starlette.exceptions import HTTPException from settings import ADMIN_SECRET, AUTH_URL -from services.logger import root_logger as logger +logger = logging.getLogger('[author]') +logger.setLevel(logging.DEBUG) async def request_data(gql, headers=None): if headers is None: