Commit e455d37
chore: add logrotate configuration for stacks-node
No log rotation was configured by default, allowing log files to
grow indefinitely. With debug logging producing ~500GB/hour, this
can fill disks rapidly. Adds a logrotate config that:
- Rotates daily and on 500MB size threshold
- Keeps 7 days of compressed history
- Uses copytruncate to avoid requiring a signal to the node
Install: cp contrib/init/stacks-logrotate /etc/logrotate.d/stacks-node
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7712133 commit e455d37
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments