FASTAPI-CLOUD-APPS-LOGS(1)

πŸ“¦ version 0.24.0, in fedora 44

🌸 FASTAPI-CLOUD-APPS-LOGS 🌸

okay bestie, this is the fastapi cloud apps create page from the User Commands manual β€” the whole vibe is streaming or fetching logs from your deployed app. yes it's literally a log-peeping page, and honestly? iconic. 🫢


✨ NAME ✨

fastapi cloud apps create β€” stream or fetch logs from your deployed app. that's the whole job. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

fastapi cloud apps create [OPTIONS] [PATH]

πŸ‘‘ OPTIONS πŸ‘‘

  • --app-id TEXT β€” the ID of the app whose logs you wanna fetch. tell it which app, it goes and grabs the receipts. πŸ”
  • --tail, -t INTEGER β€” how many log lines to show before the streaming starts. [default: 100] ✨
  • --since, -s TEXT β€” show logs since a specific time, like β€˜5m’, β€˜1h’, β€˜2d’. [default: 5m] ⏰
  • --follow, -f, --no-follow β€” stream logs in real-time (and if you'd rather just fetch and dip, use --no-follow). [default: follow] 🌈
  • --json β€” print structured JSON to stdout. [env var: FASTAPI_CLOUD_JSON] πŸŽ€
  • --help, -h β€” show a help message and exit. your classic escape hatch, bestie. πŸ’–

πŸ“ ARGUMENTS πŸ“

  • PATH β€” path to the directory with your app's pyproject.toml. if you don't say anything, it just defaults to the current directory. main character behaviour fr fr. 🧚

πŸ“ EXAMPLES πŸ“

# Stream logs in real-time
fastapi cloud logs

# Fetch recent logs and exit
fastapi cloud logs --no-follow

# Last 50 logs from the past hour
fastapi cloud logs --tail 50 --since 1h

look at that. three whole moods: live-streaming, grab-and-go, and the classic "gimme the last 50 from the past hour". 🫢


πŸ’œ ENVIRONMENT πŸ’œ

  • FASTAPI_CLOUD_JSON β€” print structured JSON to stdout; same as the --json option. literally the same thing, just vibing in your environment instead. πŸ’€

🌟 SEE ALSO 🌟

go read the friends, they're all part of the same little family πŸ₯Ή

sign-off time, bestie πŸŽ€ β€” this one's from FASTAPI-CLOUD-APPS-LOGS(1), source User Commands, dated June 2026. slay, go read your logs. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from