Issue
We need to stream logs from our applications — not for debugging errors, but to monitor and have an archive of the overall working and 'higher risk' processes. Do you have any recommendations for addressing this need within Sentry?
Applies To
- All SaaS Customers and Self-Hosted Users
- Logging
Resolution
What has worked for most users is to utilize captureMessage
for the SDK of your choice. Through this method, you can log any messages you need, and they will appear in the issues tab as errors with level:info. Please keep in mind that this means every log will count as an error from your reserved errors.
Alternatively, if the message of the logs is not that important, you might want to check out Cron Monitoring. This will help you make sure that scheduled tasks run in the expected frequency, but without tracking a log message.