Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.22 KB

stackit_server_log.md

File metadata and controls

47 lines (32 loc) · 1.22 KB

stackit server log

Gets server console log

Synopsis

Gets server console log.

stackit server log SERVER_ID [flags]

Examples

  Get server console log for the server with ID "xxx"
  $ stackit server log xxx

  Get server console log for the server with ID "xxx" and limit output lines to 1000
  $ stackit server log xxx --length 1000

  Get server console log for the server with ID "xxx" in JSON format
  $ stackit server log xxx --output-format json

Options

  -h, --help[=true|false]   Help for "stackit server log"
      --length int          Maximum number of lines to list (default 2000)

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO