Django Logging
When using uvicorn
and debugging in prod:
import logging
logger = logging.getLogger(__name__)
logger.info('hello world')
in case uvicorn doesn’t reload:
kill -HUP 1
When using uvicorn
and debugging in prod:
import logging
logger = logging.getLogger(__name__)
logger.info('hello world')
in case uvicorn doesn’t reload:
kill -HUP 1