{
  "slug": "fly-logs-adds-machine-selection-3cf3ff2be05a",
  "title": "fly logs adds machine selection",
  "tools": [
    "flyctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-22T19:36:23.000Z",
  "announced_at": "2026-07-22T19:36:23.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging an app with multiple Machines, run `fly logs -m <machine-id>` to filter logs to one Machine, or `fly logs -s` to select one interactively. The command requires an authenticated Fly session and an app name.",
    "examples": [
      "fly logs -m <machine-id>",
      "fly logs -s"
    ],
    "gotchas": [
      "Version: v0.4.74",
      "-m, --machine <machine-id>: Filter logs by Machine ID. Alias: `--instance` / `-i`.",
      "-s, --select: Select a Machine from a list; cannot be used with `--machine`.",
      "Prerequisite: Requires an authenticated Fly session and an app name; the app can be determined from `fly.toml` or supplied with the app flag.",
      "The `-s` selection is interactive.",
      "The `--instance/-i` alias is hidden but still works."
    ]
  },
  "why_it_matters": "Narrow log inspection to one Machine while debugging an app with multiple Machines.",
  "before": "List Machines and copy a Machine ID before narrowing logs to one Machine.",
  "sources": [
    "https://github.com/superfly/flyctl/releases/tag/v0.4.74",
    "https://github.com/superfly/flyctl/pull/5018",
    "https://github.com/superfly/flyctl/blob/v0.4.74/internal/command/logs/logs.go"
  ],
  "rank": 0.95037,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-147d4212f81c62e8-0:gate",
    "evidence_hash": "818807e7d7ae3415a47dc35ca717f694821e194188ba2d5768fcc8384f376194"
  },
  "review": {
    "draft_hash": "f04205f8b86186d67483f61027e92cc58d1c83821941d4780632ed1e578f1e64",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.80 (>= 0.6 needed)."
  }
}
