sebwite/magento2-sentry

Magento 2.0 的 Sentry 记录器

安装: 453

依赖: 0

建议: 0

安全性: 0

星标: 8

关注者: 5

分支: 7

开放问题: 1

类型:magento2-module

1.0.1 2016-05-03 06:51 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:53:07 UTC


README

此扩展将添加将日志记录到 Sentry 的功能。默认的最小日志级别为 DEBUG,这在扩展的 di.xml 中设置。

使用 composer 安装

  • 包含仓库: composer require sebwite/magento2-sentry
  • 启用扩展: php bin/magento --clear-static-content module:enable Sebwite_Sentry
  • 升级数据库方案: php bin/magento setup:upgrade
  • 清除缓存

不使用 composer 安装

  • 下载此扩展的 zip 文件
  • 将扩展的所有文件放入您的 Magento 2 安装目录中的 app/code/Sebwite/Sentry 文件夹
  • 启用扩展: php bin/magento --clear-static-content module:enable Sebwite_Sentry
  • 升级数据库方案: php bin/magento setup:upgrade
  • 清除缓存

配置

  • 将变量 'raven_dns' 添加到您的 app/etc/env.php 文件中。示例
'raven_dns' => 'https://****@sentry.domain.com/8',

Alt text