MITlib Private Debug Log
A small WP plugin to move the debug log
by MIT Libraries · github.com/mitlibraries/mitlib-private-debug-log
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mitlibraries/mitlib-private-debug-log/archive/refs/heads/master.zipFrom the readme
MITlib Private Debug Log
This is a small Wordpress plugin that moves the debug log outside the web root folder.
The approach in this plugin was originally shared by WebAware in a gist, and in a StackOverflow thread.
Installation
When installing this plugin, you must first create - and set permissions for - the log file yourself. The plugin assumes that the file exists, and that it has permission to write to it. Defining the file location, and the needed permissions, are beyond the scope of this plugin. Check the details of your server, or ask your server administrator, for guidance.
Configuration
To use, edit the value of $debuglog to specify a path outside the server's web root. Enable the plugin, and make sure messages are being written. If you need to troubleshoot the plugin itself, you might find it easier to set to debug log to a different location temporarily:
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.0.0 | May 23, 2019 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.