[WordPress] 外掛分享: Change Debug Log Location

WordPress 外掛 Change Debug Log Location 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Change Debug Log Location」是 2021-02-24 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-04-18,距離現在已有 16 天。
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

giuse |

外掛標籤

It changes the title and the location of the file debug.log. |

內容簡介

通常情況下,如果 debug 功能啟用,則 debug.log 文件位於 wp-content 文件夾中,並且任何人都可以在 https://your-domain.com/wp-content/debug.log/ 上讀取它。
啟用 “更改 debug 文件位置” 插件後,您將在主目錄中找到 debug.log 文件,但它將具有類似 debug-6583fb9c.log 的名稱。
因此,只有知道該名稱的人才能找到它。
停用該插件不會刪除 debug 文件,因為我們希望您不會失去任何信息,當然您可以通過 FTP 手動刪除它。
此外,在停用該插件後,debug 功能將被禁用。如果您需要它,則應在 wp-config.php 中重新啟用它。
當然,如果 debug 功能已禁用,因為您不需要它(這是 WordPress 的默認值),則您也不需要此插件。此插件僅適用於需要讀取 debug.log 文件但不希望所有人都能讀取它的人。

原文外掛簡介

Normally, if the debug is active, the file debug.log is included in the folder wp-content, and everybody can read it at https://your-domain.com/wp-content/debug.log/.
Activating Change Debug Log Location you will find the debug.log file in the main directory, but it will have a name that looks like debug-6583fb9c.log.
So only those who know the name will be able to find it.
Deactivating the plugin it will not delete the debug file, because we don’t want you lose any information, of course you can delete it manually via FTP.
Moreover, after deactivating the plugin the debug will be disabled. If you need it, you should enable it again in wp-config.php.
Of course, if the debug is disabled because you don’t need it (the default of WordPress), you also don’t need this plugin. This plugin is only for those who need to read the debug.log file, but they don’t want everybody can read it.
Help
If you need help open a thread on the support forum of this plugin.
Please, before posting enable the debugging in wp-config.php. Need a step-by-step guide? Read this detailed tutorial on how to enable debugging in WordPress to learn more.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Change Debug Log Location」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.0.1 | 0.0.2 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon