FASTAPI-CLOUD-LOGS(1)
π FASTAPI-CLOUD-LOGS π
okay bestie, so this is a User Commands page, and it's literally about streaming or fetching logs from your deployed app. that's it, that's the whole vibe. your app is out there living its main character life and this command is how you eavesdrop on it. π«Ά
β¨ NAME β¨
fastapi cloud logs β stream or fetch logs from your deployed app. no cap, that's what it does.
π SYNOPSIS π
fastapi cloud logs [OPTIONS] [PATH]
π OPTIONS π
so many lil switches, all of them iconic:
--app-idTEXT β the ID of the app whose logs you wanna fetch. that's your target, bestie π―--tail,-tINTEGER β how many log lines to show before it starts streaming.[default: 100]--since,-sTEXT β show logs since a specific time, like'5m','1h','2d'.[default: 5m]--follow,-f,--no-followβ stream logs in real-time. if you're not about the live-stream life, use--no-followto fetch and dip.[default: follow]--jsonβ print structured JSON to stdout.[env var: FASTAPI_CLOUD_JSON]--help,-hβ show a help message and exit. the classic. π
π ARGUMENTS π
PATHβ path to the directory with your app'spyproject.toml. if you don't say anything it just defaults to the current directory, which is lowkey convenient. πΈ
π₯ EXAMPLES π₯
here's the tea, with receipts:
# 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
π¦ ENVIRONMENT π¦
FASTAPI_CLOUD_JSONβ print structured JSON to stdout; literally the same as the--jsonoption. iykyk. β¨
π SEE ALSO π
go read these too, they're all part of the friend group:
fastapi-cloud-apps-logs(1)fastapi-cloud-deploy(1),fastapi-cloud-link(1),fastapi-cloud-login(1),fastapi-cloud-logout(1),fastapi-cloud-whoami(1),fastapi-cloud-unlink(1),fastapi-cloud-setup-ci(1),fastapi-cloud-env(1),fastapi-cloud-auth(1),fastapi-cloud-apps(1),fastapi-cloud-ci(1),fastapi-cloud-deployments(1),fastapi-cloud-integrations(1),fastapi-cloud-teams(1),fastapi-cloud-tokens(1)fastapi-cloud(1)fastapi(1)
fr fr tho β if you just want the logs and you don't wanna sit there watching them scroll, hit --no-follow. you'll get your lines and your life back. π
and that's a wrap! this lil page is from the August 2026 era, it's part of the fastapi-cloud-logs(1) manual and it lives under User Commands. periodt. go stream some logs bestie π β¨π
π¦ where this page comes from
- fedora 44: fastapi-cloud-cli 0.24.0-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms