[WordPress] 外掛分享: Error Log Monitor

首頁外掛目錄 › Error Log Monitor
20,000+
安裝啟用
★★★★
4.3/5 分(48 則評價)
165 天前
最後更新
0%
問題解決
WordPress 4.5+ PHP 7.4+ v1.7.12 上架:2012-07-26

內容簡介

此外掛新增了一個儀表板小工具,顯示 PHP 錯誤日誌的最新訊息,也可以發送電子郵件通知有新記錄的錯誤。

功能

自動偵測錯誤日誌的位置。
如果未啟用,會說明如何設定 PHP 錯誤日誌。
設定要顯示的日誌條目數目。
發送電子郵件通知有新記錄的錯誤 (可選)。
可設定電子郵件地址和頻率。
可以輕鬆清除日誌檔案。
儀表板小工具僅對管理員可見。
優化以使其即使在非常大的日誌檔案下也能正常工作。

使用方式

安裝此外掛後,進入儀表板,透過「螢幕選項」面板啟用「PHP 錯誤日誌」小工具。該小工具應會自動顯示來自 PHP 錯誤日誌的最後 20 行。如果看到類似「錯誤訊息:日誌記錄被禁用」的錯誤訊息,請按照顯示的指示進行錯誤記錄設定。

電子郵件通知預設為停用狀態。若要啟用,請點選小工具右上角的「設定」連結,然後在「定期傳送已記錄的錯誤電子郵件給」方塊中輸入您的電子郵件地址。如果需要,也可以從「多久發送一次電子郵件」下拉式選單中選擇電子郵件發送的最小時間間隔。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.12) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Error Log Monitor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin adds a Dashboard widget that displays the latest messages from your PHP error log. It can also send you email notifications about newly logged errors.
Features

Automatically detects error log location.
Explains how to configure PHP error logging if it’s not enabled yet.
The number of displayed log entries is configurable.
Sends you email notifications about logged errors (optional).
Configurable email address and frequency.
You can easily clear the log file.
The dashboard widget is only visible to administrators.
Optimized to work well even with very large log files.

Usage
Once you’ve installed the plugin, go to the Dashboard and enable the “PHP Error Log” widget through the “Screen Options” panel. The widget should automatically display the last 20 lines from your PHP error log. If you see an error message like “Error logging is disabled” instead, follow the displayed instructions to configure error logging.
Email notifications are disabled by default. To enable them, click the “Configure” link in the top-right corner of the widget and enter your email address in the “Periodically email logged errors to:” box. If desired, you can also change email frequency by selecting the minimum time interval between emails from the “How often to send email” drop-down.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon