Title: Bat Activity Log
Author: Jaroslav Svetlik
Published: <strong>29 maj 2026</strong>
Last modified: 29 maj 2026

---

Sök tillägg

![](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

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/bat-activity-log/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/bat-activity-log/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/bat-activity-log/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/bat-activity-log/#developers)

 [Support](https://wordpress.org/support/plugin/bat-activity-log/)

## Beskrivning

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`

## Skärmdumpar

[⌊Dashboard with activity summaries and health insights.⌉⌊Dashboard with activity
summaries and health insights.⌉[

Dashboard with activity summaries and health insights.

[⌊Activity logs screen with filters, saved views, and bulk actions.⌉⌊Activity logs
screen with filters, saved views, and bulk actions.⌉[

Activity logs screen with filters, saved views, and bulk actions.

[⌊Log detail drawer with structured context and integrity data.⌉⌊Log detail drawer
with structured context and integrity data.⌉[

Log detail drawer with structured context and integrity data.

[⌊Settings screen for modules, privacy, retention, and advanced controls.⌉⌊Settings
screen for modules, privacy, retention, and advanced controls.⌉[

Settings screen for modules, privacy, retention, and advanced controls.

[⌊Tools screen for export, cleanup, reports, and integrity checks.⌉⌊Tools screen
for export, cleanup, reports, and integrity checks.⌉[

Tools screen for export, cleanup, reports, and integrity checks.

## Installation

 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.

## Vanliga frågor

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

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Bat Activity Log” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

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

[Översätt ”Bat Activity Log” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/bat-activity-log)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/bat-activity-log/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/bat-activity-log/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/bat-activity-log/)
via [RSS](https://plugins.trac.wordpress.org/log/bat-activity-log/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

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

## Meta

 *  Version **0.3.2**
 *  Senast uppdaterat **1 månad sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 6.2 eller senare **
 *  Testat upp till **7.0**
 *  PHP-version ** 7.4 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/bat-activity-log/)
 * Etiketter
 * [Activity Log](https://sv.wordpress.org/plugins/tags/activity-log/)[admin](https://sv.wordpress.org/plugins/tags/admin/)
   [audit log](https://sv.wordpress.org/plugins/tags/audit-log/)[monitoring](https://sv.wordpress.org/plugins/tags/monitoring/)
   [security](https://sv.wordpress.org/plugins/tags/security/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/bat-activity-log/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/bat-activity-log/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/bat-activity-log/)