Skip to content

Desktop truncates backend.log on every launch #278

Closed

Description

@thcp

Location: main.rs:1076
Severity: CRIT

fs::File::create(log_path) zeroes the previous session’s log. The natural user response to a crash is “restart and retry” — which erases exactly the evidence needed. This is why the Mac Mini reporter had nothing to paste.
Rotate on launch (backend.log → backend.log.1, keep 2–3 generations) or append with a size cap.

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

Activity

  1. added
    bugSomething isn't working
    observabilityLogging, monitoring, diagnosability
    on Jul 16, 2026
  2. added a commit that references this issue on Jul 17, 2026
    60959e7
  3. 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

bugSomething isn't workingobservabilityLogging, monitoring, diagnosability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions