Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mitlibraries/mitlib-private-debug-log/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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:
Releases
1 release.
Tag
Published
1.0.0
latest
May 23, 2019 7 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.