Sentry django configuration - logger
问题 I am trying to use simple logging and want to send errors/exceptions to Sentry. I configured the Sentry as per the document and run the test successfully on my dev( python manage.py raven test ) I added the Logging configuration as in Sentry documentation to a Django settings When I put this code in my View, then it doesn't work at all import logging logger = logging.getLogger(__name__) logger.error('There was an error, with a stacktrace!', extra={ 'stack': True, }) Maybe I am missing