This extension will add the ability to log to Sentry. Default for the minimal logging level is DEBUG, this is set in the extensions di.xml.
- Include the repository:
composer require sebwite/magento2-sentry
- Enable the extension:
php bin/magento --clear-static-content module:enable Sebwite_Sentry
- Upgrade db scheme:
php bin/magento setup:upgrade
- Clear cache
- Download zip file of this extension
- Place all the files of the extension in your Magento 2 installation in the folder
app/code/Sebwite/Sentry
- Enable the extension:
php bin/magento --clear-static-content module:enable Sebwite_Sentry
- Upgrade db scheme:
php bin/magento setup:upgrade
- Clear cache
- Add the variable 'raven_dns' to your app/etc/env.php file. Example:
'raven_dns' => 'https://****@sentry.domain.com/8',