GriefLog
GriefLog: Configuration
Configure logging, retention, rollback batch sizes, and event sources.
config.yml
Customize log retention, purge intervals, and rollback behavior:
# GriefLog Configuration
# How long to keep log entries before auto-purging.
# Supported units: s, m, h, d, w, mo
retention: 3d
# How often (in minutes) to run the auto-purge task.
purge-interval-minutes: 30
# Async flush interval for the in-memory log queue (in ticks).
flush-interval-ticks: 20
# Maximum number of blocks to apply per tick during a rollback.
rollback-batch-size: 250
# Which event sources to log.
log:
player-break: true
player-place: true
explosions: true
fire: true
liquid-flow: true # high-volume; tune retention accordingly
# Delete entries after they are rolled back (prevents double-rollback).
delete-on-rollback: trueOptions Reference
| Key | Default | Description |
|---|---|---|
retention |
3d |
How long to keep log entries before auto-purging. |
purge-interval-minutes |
30 |
How often (in minutes) to run the auto-purge task. |
flush-interval-ticks |
20 |
Async flush interval for the in-memory log queue. |
rollback-batch-size |
250 |
Maximum blocks to apply per tick during a rollback. |
log.* |
true |
Enable/disable logging for specific event types. |
delete-on-rollback |
true |
Delete entries after rollback to prevent double-rollback. |