Skip to main content

How do I send my debug logs to Sentry?

Issue

A Sentry support agent asked me to send my debug logs, or I want to troubleshoot why my events are not reaching Sentry. I need to enable the SDK debug option and send the resulting logs to Sentry Support.

Applies To

  • All SaaS Customers and Self-Hosted Users

  • SDK Setup

Resolution

To send your debug logs to Sentry, enable the SDK debug option, reproduce the problem to generate logs, then attach the full output as a .txt file to your support request.

  1. Enable the debug option in your SDK initialization. See the option for your platform:

    For where these logs appear, see Where can I view my Sentry debug logs?.

  2. Send a test event to Sentry to generate some logs.

  3. Copy the full output into a .txt file and attach it to your support request.

Note: Sentry Support prefers debug logs in .txt format. Do not send these logs as a screenshot.

Did this answer your question?