Skip to content

Server mode writes no log file at all #291

Closed

Description

@thcp

Location: config.py:69
Severity: HIGH

LOGS_DIR is created (portable mode) but nothing in Python ever writes to it — logging goes to stdout only. Docker users get logs only if they capture them; source-run users get a scrollback buffer.
Add a RotatingFileHandler → LOGS_DIR/stemdeck.log (e.g. 5 × 5 MB) with a timestamped formatter, alongside stdout. One function in main.py.

From the health report. Part of #272 (Phase 1 — Evidence).

Activity

  1. added a commit that references this issue on Jul 16, 2026
    995e402
  2. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

observabilityLogging, monitoring, diagnosability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions