Type
magento2-module
Magento 2 Logger for Sentry
magento2-module
MIT
None
None
None
None
None
This Magento 2 module integrates the Sentry sdk into magento 2. Depending on the log level configured in the backend of magento 2, notifications and errors can be send to sentry.
composer require justbetter/magento2-sentry
bin/magento module:enable JustBetter_Sentry
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
This module uses the Magento Deployment Configuration for most it's configuration. This means that you need to add this array to your app/etc/env.php
:
'sentry' => [
'domain' => 'example.com',
'environment' => null,
'log_level' => \Monolog\Logger::WARNING,
'isOverwriteProductionMode' => false,
]
Next to that there are some configuration options under Stores > Configuration > JustBetter > Sentry.
processor.php
. Soon(2020-Q1) I'll integrate this in the module.The module is tested on Magento version 2.2.x & 2.3.x with sentry sdk version 2.x. Magento 2.1.x is not supported by us anymore, feel free to fork this project or make a pull request.
Please create a issue or a pull request.
We’re a innovative development agency from The Netherlands building awesome websites, webshops and web applications with Laravel and Magento. Check out our website justbetter.nl and our open source projects.