stoffelio/statamic-404-logger
最新稳定版本:v1.1.0
Composer 安装命令:
composer require stoffelio/statamic-404-logger
包简介
Statamic addon to automatically log all 404 requests
README 文档
README
Statamic addon to automatically log all 404 requests.
Features
Any request to your website resulting in a 404 error will be written to a log file. The file contains the timestamp as well as the exact url that was requested. Use the information to fix your internal links or redirect users to the correct resource.
You can add a ERROR404LOG_ENABLED variable to your .env file to turn the logging on or off (defaults to on).
How to Install
Run the following command from your project root:
composer require stoffelio/statamic-404-logger
Optional: Change the name of the log file and the retention period in config/error404-log.php
统计信息
- 总下载量: 8.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-14