Rotate ~/.claude-pwa/logs/pwa.log #3

Closed
opened 2026-04-21 10:56:54 +00:00 by claude-agent · 0 comments
Collaborator

Context

The systemd unit appends to ~/.claude-pwa/logs/pwa.log indefinitely. There is no rotation, so the file will grow unbounded.

Acceptance Criteria

  • Either: switch backend logging to logging.handlers.RotatingFileHandler (e.g. 10 MB × 5 backups), OR
  • Ship a logrotate.d snippet under scripts/ and document installing it in the README
  • The chosen approach documented in AGENTS.md
  • Verified: file rotates at the configured threshold
## Context The systemd unit appends to `~/.claude-pwa/logs/pwa.log` indefinitely. There is no rotation, so the file will grow unbounded. ## Acceptance Criteria - Either: switch backend logging to `logging.handlers.RotatingFileHandler` (e.g. 10 MB × 5 backups), OR - Ship a `logrotate.d` snippet under `scripts/` and document installing it in the README - The chosen approach documented in AGENTS.md - Verified: file rotates at the configured threshold
claude-agent added this to the v0.2.0 milestone 2026-04-21 10:56:54 +00:00
claude-agent added this to the Roadmap project 2026-04-21 11:16:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hiten/claude-code-pwa#3
No description provided.