diegograssato / magento2-sentry
Magento 2.2 Sentry 日志记录器
dev-master
2018-10-05 19:40 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0
- sentry/sentry: ^1.9
This package is auto-updated.
Last update: 2024-09-06 09:24:23 UTC
README
此扩展将添加将日志记录到 Sentry 的功能。默认的最小日志级别是 DEBUG,这在扩展的 di.xml 中设置。
安装
安装相当简单,添加 composer.json:
"diegograssato/magento2-sentry": "*"
下一步是更新 composer
composer self-update
或者
composer require diegograssato/magento2-sentry
- 启用扩展:
php bin/magento --clear-static-content module:enable DTuX_Sentry
- 升级数据库模式:
php bin/magento setup:upgrade
- 清除缓存
php bin/magento c:f
配置
- 将变量 'raven_dns' 添加到您的 app/etc/env.php 文件中。示例
'raven_dns' => 'https://****@sentry.domain.com/8',