Apraksts
Honeylog WordPress Plugin
Multi-file WordPress plugin that batches frontend requests into a JSON queue and flushes to Honeylog.
This client targets self-hosted and conventional managed WordPress. It is not
the complete integration for WordPress VIP, where edge cache hits do not execute
PHP and the uploads filesystem is not a durable local queue. Use
clients/wordpress-vip-s3 for VIP.
Behavior
- Tracks frontend page requests plus
.xmland.txtURLs (excludes wp-admin pages). - Writes each event to a local NDJSON queue file.
- Uses an option-based lock on every queue write/mutation.
- Runs a cron-based flush every 60 seconds.
- Sends queued events in batches of up to 100.
- Warns administrators when automatic WP-Cron execution is disabled.
Plugin Files
honeylog-ingestion.php: bootstrap and WordPress hooksincludes/honeylog-constants.php: constants + option sanitizersincludes/honeylog-batching-utils.php: queue file lock, enqueue/snapshot/requeue/flushincludes/honeylog-request-utils.php: request capture + HTTP batch senderincludes/honeylog-settings.php: admin settings pageincludes/honeylog-debug.php: persistent debug log + last status/error helpers
Settings
Go to Settings -> Honeylog:
TokenSite Domain(optional)
The ingestion endpoint is fixed to https://api.honeylog.io/events.
Debugging
Debug log is written to:
wp-content/uploads/honeylog-ingestion/debug.logwhen available- fallback:
wp-content/honeylog-ingestion-debug.log
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Honeylog” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Honeylog” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0.1
- Warn administrators when
DISABLE_WP_CRONis enabled and queued events require an external cron runner. - Track
.xmland.txtvisits, including requests with non-HTMLAcceptheaders.
