Skip to content

[DOCS] CLI gateway binary and logs now default to the home dir #602

Closed

Description

[DOCS] CLI gateway binary and logs now default to the home dir

Summary

PR inference-gateway/cli#1129 (from issue #1123) makes ~/.infer/ the only default location for machine-scoped state:

  • The downloaded gateway binary now goes to ~/.infer/bin/ (one shared copy per machine, staleness check unchanged). It no longer downloads per project into .infer/bin/.
  • CLI logs and gateway logs now default to ~/.infer/logs/ (an explicit logging.dir config value still wins). The daemon-only fallback to the userspace log dir was removed since it is now the default for everyone.
  • The project .gitignore seeded by infer init no longer lists bin/ or logs/*.log because nothing writes them to the project directory anymore.

There is no migration - old project-local .infer/bin and .infer/logs directories are simply orphaned.

Affected docs (user-facing behavior change)

  • Page(s) describing the .infer directory layout: logs/ and bin/ are no longer project-runtime artifacts; the userspace ~/.infer tree gains logs/ and bin/
  • Configuration reference: logging.dir default text - was /logs, now ~/.infer/logs; INFER_LOGGING_DIR default is ~/.infer/logs
  • Troubleshooting snippets that reference .infer/logs/*.log (a2a connections, MCP integration) should use ~/.infer/logs/
  • Any page mentioning the downloaded gateway binary location (was .infer/bin, a project-local copy; now ~/.infer/bin, one copy per machine)

Reference

Activity

  1. added
    documentation
    on Aug 30, 2026
  2. moved this to Todo in 2026on Aug 30, 2026
  3. added theissue type on Aug 30, 2026
  4. edenreich commented on Aug 30, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Aug 30, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 21s —— View job • docs/issue-602-20260830-1434 • Create PR ➔


    Done - PR #603

    • Gather context (find affected pages)
    • Update .infer layout docs (logs/, bin/)
    • Update logging.dir / INFER_LOGGING_DIR defaults
    • Check troubleshooting log paths
    • Validate (lint:md, format:check, build)
    • Commit + open PR

    Changes (cli.md only)

    • logging.dir default is now ~/.infer/logs (was <config-dir>/logs), in both the YAML snippet and the bullet; the bullet also names INFER_LOGGING_DIR and states logs are machine-scoped.
    • Gateway binary: added a line under Gateway Settings noting it lands at ~/.infer/bin/inference-gateway, one shared copy per machine, staleness check unchanged.
    • Directory layout: added logs/ and bin/ (user scope) rows to the config-directory table, plus a > **No migration.** note - matching the style of the conversation-storage note from docs: update conversation storage to home-dir layout #601 - covering the orphaned project-local dirs and the trimmed infer init .gitignore.

    Not changed (checked, already correct)

    • No troubleshooting snippet in this repo referenced .infer/logs/*.log - the a2a and MCP sections use --debug / INFER_LOGGING_DEBUG, not log file paths.
    • desktop.md and cli-text-to-speech.md already document ~/.infer/bin.

    Validated with bun run lint:md, bun run format:check, and bun run build - all pass.

    | Branch

  6. moved this from Todo to In progress in 2026on Aug 30, 2026
  7. moved this from In progress to QA in 2026on Aug 30, 2026
  8. moved this from QA to Done in 2026on Aug 30, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions