thesgroup / module-not-found-url-error-log
该模块会记录网站中找不到的任何URL
1.0.5
2024-04-05 02:57 UTC
Requires
- php: ~7.1.0||~7.2.0||~7.3.0||~7.4.0||~8.1.0||~8.2.0
- magento/framework: ~102.0||~103.0
- magento/module-backend: ~101.0||~102.0
- magento/module-store: ~101.0||~101.1
- magento/module-ui: ~101.1||~101.2
- magento/module-url-rewrite: ~101.0||~102.0
README
此 Magento 2 模块会记录您网站上找不到的任何页面请求。您可以在“系统” -> “工具” -> “404 错误日志”中查看日志。
日志通过定时任务进行清理,该任务可以在管理面板的“商店” -> “配置” -> “S集团” -> “404 错误日志”中进行配置。
1. 安装
在 Magento 2 根目录中运行以下命令
composer require thesgroup/module-not-found-url-error-log
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
2. 删除模块
在 Magento 2 根目录中运行以下命令
composer remove thesgroup/module-not-found-url-error-log
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy