fly logs

View application logs as generated by the application running on the Fly platform.

Logs can be filtered to a specific machine using the –machine/-m flag or to all machines running in a specific region using the –region/-r flag.

By default logs are continually streamed until the command is aborted. Use –no-tail to only fetch the logs in the buffer.

Usage

fly logs [flags]

Options

  -a, --app string       Application name
  -c, --config string    Path to application configuration file
  -h, --help             help for logs
  -j, --json             JSON output
  -m, --machine string   Filter by machine ID
  -n, --no-tail          Do not continually stream logs
  -r, --region string    The target region (see 'flyctl platform regions')
  -s, --select           Select a machine from a list

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output

See Also

  • fly - The Fly.io command line interface