內容簡介
Arbyte Structured Logging for Seq 外掛可將 WordPress 和 WooCommerce 的結構化日誌事件發送至 Seq 伺服器,幫助開發者更有效地追蹤和管理錯誤與事件。
【主要功能】
• 發送 WordPress PHP 錯誤及未捕獲的例外
• 與 WooCommerce 日誌處理系統整合
• 支援批次發送最多 100 個事件
• 自動重試暫時性 HTTP 錯誤
• 隱藏敏感資訊如密碼和 API 金鑰
• 提供管理員連接測試功能
外掛標籤
開發者團隊
② 後台搜尋「Arbyte Structured Logging for Seq」→ 直接安裝(推薦)
原文外掛簡介
The plugin sends structured WordPress and WooCommerce log events to a Seq server using the CLEF ingestion format.
Arbyte Structured Logging for Seq is an independent WordPress plugin and is not affiliated with, endorsed by, or sponsored by Datalust or the Seq project. Seq is a product of Datalust.
Features:
Sends WordPress PHP errors, uncaught exceptions, and fatal errors to Seq.
Integrates with WooCommerce’s log handler system when WooCommerce is active.
Buffers events and sends them in batches of up to 100 events.
Retries transient HTTP failures.
Redacts sensitive context fields such as passwords, tokens, API keys, and credentials.
Supports configurable minimum log levels.
Provides an admin connection test.
Supports configuration through the WordPress settings page or wp-config.php constants.
The plugin installs an early bootstrap during activation so fatal errors that occur before normal plugin loading can also be reported. Events may contain exception messages, stack traces, file paths, site names, and site URLs. Configure the destination and retention policy in accordance with your privacy requirements.
Requirements
WordPress 6.5 or later
PHP 8.1 or later
A Seq server with CLEF ingestion enabled
WooCommerce is optional; WooCommerce logs are forwarded automatically when it is active.
Configuration
The settings page supports the following options:
Seq base URL
Optional API key
Minimum logging level: debug, info, notice, warning, error, critical, alert, or emergency
For deployment configuration, define these constants in wp-config.php:
`php
define(‘WP_SEQ_URL’, ‘https://seq.example.com’);
define(‘WP_SEQ_API_KEY’, ‘your-api-key’);
define(‘WP_SEQ_MIN_LEVEL’, ‘warning’);
`
Constants override the corresponding settings-page values. Fields overridden by constants are disabled in the settings page.
