★ 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/swarthmore/wp-proper_log/archive/refs/heads/master.zipWordPress System Logger
Prerequisites
- This plugin requires the WordPress Activity Log Plugin to capture WordPress events.
Features
- Send activity log events to either:
syslog(default), orSTDOUT/php://stdout(useful for containerized deployments where container logs are collected).
- Configurable log ident/tag (default:
ProperLog) used as thesyslogident and prepended toSTDOUTmessages.
Installation
- Install and activate the Activity Log plugin.
- Copy this plugin into your
wp-content/plugins/directory and activate it. - Configure destination and tag at Settings → Proper Log.
Defaults
- Destination:
syslog - Log tag/ident:
ProperLog
These defaults are created on plugin activation if the options are not present.
Rsyslog Configuration
(optional) To send WordPress events to their own system log.
On a system running rsyslog, update /etc/rsyslog.conf to contain the following in the RULES portion of the config.
# Logging for WordPress applications
local0.* /var/log/wp_event_log
Restart rsyslog to apply the configuration change.