chore(logs): rotate daily and prune after 24h

This commit is contained in:
Peter Steinberger
2025-12-02 17:11:43 +00:00
parent 8844674825
commit 26921cbe68
4 changed files with 87 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
### Security
- Hardened the relay IPC socket: now lives under `~/.warelay/ipc`, enforces 0700 dir / 0600 socket perms, rejects symlink or foreign-owned paths, and includes unit tests to lock in the behavior.
- `warelay logout` now also prunes the shared session store (`~/.warelay/sessions.json`) alongside WhatsApp Web credentials, reducing leftover state after unlinking.
- Logging now rolls daily to `/tmp/warelay/warelay-YYYY-MM-DD.log` (or custom dir) and prunes files older than 24h to reduce data retention.
## 1.3.0 — 2025-12-02