Install on a VM

openrail logs

Print deploy, build or HTTP logs, following them on a terminal.

Usage

openrail logs [DEPLOYMENT] [flags]

Flags

FlagMeaning
-b, --buildBuild logs
--httpHTTP logs from the ingress
--method, --status, --path, --request-idFilter HTTP logs
--latestThe newest deployment, even if it is not active
-n, --lines NNumber of lines
-f, --filter EXPRA log filter expression
-S, --since, -U, --untilTime window (10m, 2h, or a timestamp)
--no-followPrint and exit

Details

  • Deploy logs of the active deployment are the default.

Examples

openrail logs -f '@level:error -healthcheck'
openrail logs --http --status 500
openrail logs -b --latest

Railway equivalent

railway logs works the same way through the railway alias.

Every command also accepts the global options.

View as Markdown Edit this page