[Answered ]-Log errors in celery to django-sentry

2👍

What about this:

    myLogger = logging.getLogger('mylogger.info')
    myLogger.setLevel(logging.INFO)
    myLogger.info(exc_info)

?

In my settings.py:

'loggers': {
    'mylogger.info': {
        'level': 'INFO',
        'handlers': ['sentry'],
        'propagate': False,
        },
           }

Leave a comment