Using Nextcloud Logs as Sentry Breadcrumbs
The Sentry integration for Nextcloud has been available for more than a year now. During this year, we gradually improved the data that is reported and the errors it can capture.
For the new Nextcloud 15 we added support for Sentry’s breadcrumbs. These had been collected by the Sentry client on the client side already. However, they needed special handling on the server side to work with Nextcloud’s logging service. A small adjustment to the logger now passes logged messages on to the “crash reporters” (an abstract term for integrations like Sentry). The Sentry integration app then registers the messages as Sentry breadcrumbs.