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
enabledstate:false - Commands:
/zg log [menu|inspect [on|off]|lookup|rollback] - Permissions:
zguard.admin.t1(orzguard.adminwhenadmin_tiers.enabled: false) - Interfaces (Menus / Dialogs / Bedrock Forms): Action log browser dialog when enabled.
- Storage:
modules/logging/config.yml, stored inguard.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 |