WP Manifestindependent plugin directory
manifest / security / stream-to-file

Stream Plugin to Log File

WordPress Plugin, to extend the Stream Plugin to save entries to file log

by Tim Nash · github.com/timnashcouk/stream-to-file · website

4stars
1forks

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/timnashcouk/stream-to-file/archive/refs/heads/master.zip

From the readme

Stream To File Description Simple Extension for the [Stream Plugin] (https://en-gb.wordpress.org/plugins/stream/) that generates a log file, with individual Stream records. Why? writing to file, means you can use standard tools to look at the data, it also means you don't need to interact with the site to look at user activity. Installation As a normal WordPress Plugin, note Stream must be installed. - Once Activate go to Stream Settings - Log File - Set a path and if you wish to change the format modify Format options: - {userid} - {userrole} - {created} - {summary} - {connector} - {context} - {action} - {ip} - {displayname} - {useremail} - {userlogin} IMPORTANT This plugin does not do any log rotation, if you clear Stream, or have stream rotating logs every x days these will not affect the text log. This is intentional, if you want to rotate logs I suggest using something like logrotate: Will set it to weekly or if reaches 20M rotate put the archives in gzip files and delete after 28 days.

Read the full README on GitHub →