Skip to content

Logging

Disabled-by-default action logging and rollback module (inspect, lookup, rollback) backed by SQLite queue flushing (queue_batch_size).

Summary

  • Plugin: ZellysGuard
  • Configuration file: modules/logging/config.yml
  • Default enabled state: false
  • Commands: /zg log [menu|inspect [on|off]|lookup|rollback]
  • Permissions: zguard.admin.t1 (or zguard.admin when admin_tiers.enabled: false)
  • Interfaces (Menus / Dialogs / Bedrock Forms): Action log browser dialog when enabled.
  • Storage: modules/logging/config.yml, stored in guard.db

Limits and verification status

Starts disabled (enabled: false) as experimental; when off, /zg log reports unavailable. queue_batch_size is enforced in ActionConsumer; retention_days pruning is not applied yet.

Configuration keys (modules/logging/config.yml)

Key Type Default Description
enabled boolean false Module switch; requires a restart
retention_days integer 30 Days to retain logged actions in database (Not applied yet)
queue_batch_size integer 100 In-memory action buffer flush size