fastapi-cloud-logs - Man Page
fastapi cloud logs – Stream or fetch logs from your deployed app.
Synopsis
fastapi cloud logs [Options] [PATH]
Options
- --tail, -t INTEGER
Number of log lines to show before streaming. [default: 100]
- --since, -s TEXT
Show logs since a specific time (e.g., ‘5m’, ‘1h’, ‘2d’). [default: 5m]
- --follow, -f, --no-follow
Stream logs in real-time (use --no-follow to fetch and exit). [default: follow]
- --help, -h
Show a help message and exit.
Arguments
- PATH
Path to the folder containing the app (defaults to current directory).
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
See Also
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-env(1)
Referenced By
fastapi-cloud(1), fastapi-cloud-deploy(1), fastapi-cloud-env(1), fastapi-cloud-link(1), fastapi-cloud-login(1), fastapi-cloud-logout(1), fastapi-cloud-unlink(1), fastapi-cloud-whoami(1).