sincecutoff.com
← all changes

railway logs accepts --since and --until

Introduced 2026-01-08 · score 0.96

HOW TO USE IT

When debugging a repository deployment, run `railway logs` with `--since` and `--until` to fetch logs for a specific time range. Without a log type flag, it fetches deploy logs by default.

railway logs --since <START_TIME> --until <END_TIME>
railway logs --service <SERVICE> --environment <ENVIRONMENT> --since <START_TIME> --until <END_TIME>

WHY THIS HELPS

Retrieve Railway logs for a specific time range while debugging a repository deployment.

REQUIREMENTS AND LIMITATIONS

  • Version: v4.18.0
  • --since <TIME> (required): Show logs since a specific time; disables streaming. Accepts relative times or ISO 8601 timestamps.
  • --until <TIME> (required): Show logs until a specific time; disables streaming. Accepts relative times or ISO 8601 timestamps.
  • --service <SERVICE>: Select the service; defaults to the linked service.
  • --environment <ENV>: Select the environment; defaults to the linked environment.
  • Prerequisite: Install the Railway CLI and authenticate with a Railway account using `railway login`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card