5050 logs
Print deploy, build or HTTP logs, following them on a terminal.
Usage
5050 logs [DEPLOYMENT] [flags]Flags
| Flag | Meaning |
|---|---|
-b, --build | Build logs |
--http | HTTP logs from the ingress |
--method, --status, --path, --request-id | Filter HTTP logs |
--latest | The newest deployment, even if it is not active |
-n, --lines N | Number of lines |
-f, --filter EXPR | A log filter expression |
-S, --since, -U, --until | Time window (10m, 2h, or a timestamp) |
--no-follow | Print and exit |
Details
- Deploy logs of the active deployment are the default.
Examples
5050 logs -f '@level:error -healthcheck'
5050 logs --http --status 500
5050 logs -b --latestRailway equivalent
railway logs works the same way through the railway alias.
Every command also accepts the global options.