akkasls services logs

Display the last hour of logs for a specific service.

Synopsis

Get the last hour of logs of a specific service in the current project. If none of the --lifecycle, --service, --proxy or --cloudstate flags are supplied, defaults to outputting service and lifecycle logs.

akkasls services logs [SERVICE] [POD] [flags]

Examples

> akkasls logs my-service
itemAdded::push
return state
...

Options

      --cloudstate       Whether cloudstate sidecar logs should be included.
      --color            Whether color output should be used (default true)
  -f, --follow           Whether logs should be followed.
  -h, --help             help for logs
      --lifecycle        Whether lifecycle logs should be included.
      --owner string     the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string   project to use if not using the default configured project
      --proxy            Whether HTTP proxy logs should be included.
      --service          Whether service logs should be included.
  -t, --tail int         The maximum number of lines to fetch. If follow is also supplied, this will be the number of existing lines that will be output. (default 100)

Options inherited from parent commands

      --config string      location of config file (default "~/.akkaserverless/config.yaml")
      --context string     configuration context to use
  -o, --output string      set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet              set quiet output (helpful when used as part of a script)
      --timeout duration   client command timeout (default 10s)
  -v, --verbose            set verbose output

SEE ALSO