Skip to main content

astroctl_application_logs

astroctl application logs

Get application logs

Synopsis

Get application logs

astroctl application logs [flags]

Examples


# Get the application log
astroctl app logs myapp

# Get the application log and follow
astroctl app logs myapp -f

# Get the application log and show 100 lines from the end
astroctl app logs myapp -t 100

# Get the application log and show previous logs
astroctl app logs myapp -p

Options

  -f, --follow                         continuously follow the log of the application (default true)
-h, --help help for logs
-p, --previous show previous log
-t, --tail int number of lines to show from the end of the log
--time-between-events duration time between events (default 5ms)
-w, --watch continuously watch the log of the application (default true)

Options inherited from parent commands

  -n, --name string     name of the application
-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO