I'm having an issue logging to Sentry from within a celery task. Errors in tasks work fine. However, when I try to manually log an event, it gets logged to the celery logs, but not to the sentry server.The code I'm using is:@taskdef myWorker():logger = logging.getLogger('celery.task')logger.addHandler(SentryHandler())logger.warn("Some condition happened", exc_info=True, extra={ 'extra': 'data' })I've found some posts on here and around the net on this, but they all seem to be very out of date--
You received this message because you are subscribed to the Google Groups "sentry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getsentry+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
CELERYD_HIJACK_ROOT_LOGGER = False