Title: Bat Activity Log
Author: Jaroslav Svetlik
Published: <strong>2026 年 5 月 29 日</strong>
Last modified: 2026 年 5 月 29 日

---

搜尋外掛

![](https://ps.w.org/bat-activity-log/assets/banner-772x250.png?rev=3554266)

![](https://ps.w.org/bat-activity-log/assets/icon-256x256.png?rev=3554266)

# Bat Activity Log

 由 [Jaroslav Svetlik](https://profiles.wordpress.org/jerryscg/) 開發

[下載](https://downloads.wordpress.org/plugin/bat-activity-log.0.3.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/bat-activity-log/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/bat-activity-log/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/bat-activity-log/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/bat-activity-log/#developers)

 [技術支援](https://wordpress.org/support/plugin/bat-activity-log/)

## 外掛說明

Bat Activity Log helps site owners and administrators understand what changed, who
changed it, and when it happened.

The plugin records activity across users, content, media, comments, plugins, themes,
settings, updates, privacy workflows, and other core WordPress operations. Logs 
are stored in a custom indexed table for fast filtering and large datasets.

#### Key features

 * Track logins, logouts, failed logins, profile changes, registrations, role changes,
   and password updates.
 * Record post, page, media, comment, taxonomy, menu, widget, and settings activity.
 * Monitor plugin, theme, and WordPress update activity.
 * Filter logs by event type, action, severity, user, object, IP address, and date
   range.
 * Use saved views, quick filters, bulk actions, CSV export, and a structured log
   detail drawer.
 * Configure retention cleanup, privacy controls, alert rules, and scheduled reports.
 * Verify log integrity with a tamper-evident hash chain.
 * Use WP-CLI commands for stats, cleanup, export, repair, reporting, benchmarking,
   and integrity verification.

#### Event coverage

Bat Activity Log currently covers:

 * User authentication and account events
 * Content and revision events
 * Media library activity
 * Comment activity
 * Plugin and theme lifecycle events
 * Core, update, and database upgrade events
 * Settings, widget, permalink, and menu changes
 * Privacy request and erasure workflow events
 * File editor changes
 * WooCommerce events when WooCommerce is active
 * Supported form submission events for Contact Form 7, Gravity Forms, WPForms, 
   and Elementor Pro Forms

#### Integrity and privacy

Each log row includes integrity metadata that can be verified from the Tools screen
or WP-CLI. Privacy controls include IP logging toggles, optional IP anonymization,
user-agent logging controls, and WordPress personal data exporter and eraser integration.

#### WP-CLI examples

 * `wp bat-activity-log stats`
 * `wp bat-activity-log cleanup --days=90 --batch-size=2000`
 * `wp bat-activity-log export --file=/tmp/activity-log.csv`
 * `wp bat-activity-log repair`
 * `wp bat-activity-log verify-integrity`
 * `wp bat-activity-log report --days=7 --format=text`
 * `wp bat-activity-log benchmark --iterations=10 --per-page=100`

## 螢幕擷圖

 * [[
 * Dashboard with activity summaries and health insights.
 * [[
 * Activity logs screen with filters, saved views, and bulk actions.
 * [[
 * Log detail drawer with structured context and integrity data.
 * [[
 * Settings screen for modules, privacy, retention, and advanced controls.
 * [[
 * Tools screen for export, cleanup, reports, and integrity checks.

## 安裝方式

 1. Upload the `bat-activity-log` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Open “Bat Activity Log” from the WordPress admin menu.
 4. Review the Settings and Tools screens to configure retention, privacy, alerts, 
    and reports.

## 常見問題集

### Does the plugin create its own database table?

Yes. Bat Activity Log stores log rows in a custom `{prefix}bat_activity_log` table
with indexes for efficient filtering, pagination, cleanup, and integrity verification.

### Can I control how long logs are stored?

Yes. You can define retention days in Settings and run cleanup manually from the
Tools screen or WP-CLI.

### Does uninstall remove all data?

Only if you explicitly enable “Delete plugin data on uninstall” in Settings.

### Can I disable some log types?

Yes. You can disable modules and exclude selected roles or event groups to reduce
noise.

### Does this plugin use Composer?

No. It ships with a custom PSR-4-style autoloader and does not require Composer 
in production.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Bat Activity Log〉的開發相關工作。

參與者

 *   [ Jaroslav Svetlik ](https://profiles.wordpress.org/jerryscg/)

[將〈Bat Activity Log〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/bat-activity-log)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/bat-activity-log/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/bat-activity-log/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/bat-activity-log/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/bat-activity-log/)。

## 變更記錄

#### 0.3.2

 * Replaced auth salt based integrity signing with a plugin-owned secret and added
   a migration to rebuild the integrity chain safely.

#### 0.3.1

 * Fixed reviewer-reported request sanitization boundaries in admin settings handling
   and file editor event capture.
 * Updated the Contributors list to include the plugin owner WordPress.org username.

#### 0.3.0

 * Added a refined admin experience with product navigation, dashboard insights,
   and log detail drawer improvements.
 * Added saved views, alert rules, scheduled reports, privacy tools, and integrity
   tooling.
 * Added broader event coverage for privacy, updates, taxonomies, integrations, 
   security, and files.
 * Improved build and review readiness for WordPress.org submission.

## 中繼資料

 *  版本 **0.3.2**
 *  最後更新 **1 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/bat-activity-log/)
 * 標籤:
 * [Activity Log](https://tw.wordpress.org/plugins/tags/activity-log/)[admin](https://tw.wordpress.org/plugins/tags/admin/)
   [audit log](https://tw.wordpress.org/plugins/tags/audit-log/)[monitoring](https://tw.wordpress.org/plugins/tags/monitoring/)
   [security](https://tw.wordpress.org/plugins/tags/security/)
 *  [進階檢視](https://tw.wordpress.org/plugins/bat-activity-log/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/bat-activity-log/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/bat-activity-log/reviews/)

## 參與者

 *   [ Jaroslav Svetlik ](https://profiles.wordpress.org/jerryscg/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/bat-activity-log/)