Bat Activity Log

Wopisanje

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

Fota wobrazowki

  • 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.

Instalacija

  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.

HSP

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.

Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

Sobuskutkowarjo a wuwiwarjo

„Bat Activity Log“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

Protokol změnow

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.