ISTIOCTL-ADMIN-LOG(1)

πŸ“¦ version 1.31.3, in nixos 26.05, nixpkgs unstable

πŸ¦‹ ISTIOCTL-ADMIN-LOG(1) β€” istioctl-admin-log πŸ¦‹

okay bestie, this is the ISTIOCTL-ADMIN-LOG(1) page, and it's all about managing istiod logging. no cap, it's giving β€œsmall command, very useful logs” energy. πŸ’…

✨ NAME ✨

istioctl-admin-log β€” Manage istiod logging.

πŸŽ€ SYNOPSIS πŸŽ€

istioctl admin log []|[-r|--revision] [--level :][--stack-trace-level :]|[--reset|--log-reset|--stack-trace-reset]|[--output|-o short|json|yaml] [flags]

πŸ’– DESCRIPTION πŸ’–

Retrieve or update logging levels of istiod components. literally that's the whole vibe: you can peek at the levels or change them. 🫢

🌸 OPTIONS 🌸

  • --ctrlz_port=9876 β€” ControlZ port. that's the port number, bestie: 9876.
  • -h, --help[=false] β€” help for log. your little β€œwhat does this do again?” button.
  • --level="" β€” comma-separated list of output logging level for scopes, in the format of :[,:,...]. possible values for : are none, error, warn, info, debug.
  • --log-reset[=false] β€” reset log levels to default value. (info).
  • -o, --output="short" β€” output format: one of json|yaml|short. default is "short".
  • --reset[=false] β€” reset all levels to default value. (info).
  • -r, --revision="" β€” control plane revision.
  • --stack-trace-level="" β€” comma-separated list of stack trace level for scopes, in the format of :[,:,...]. possible values for : are none, error, warn, info, debug.
  • --stack-trace-reset[=false] β€” reset stack stace levels to default value. (none). yes, the typo stace is canon, not me being messy.

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • --as="" β€” username to impersonate for the operation. User could be a regular user or a service account in a namespace.
  • --as-group=[] β€” group to impersonate for the operation, this flag can be repeated to specify multiple groups.
  • --as-uid="" β€” UID to impersonate for the operation.
  • --context="" β€” Kubernetes configuration context.
  • -i, --istioNamespace="istio-system" β€” Istio system namespace.
  • --kubeclient-timeout="15s" β€” Kubernetes client timeout as a time.Duration string, defaults to 15 seconds.
  • -c, --kubeconfig="" β€” Kubernetes configuration file.
  • -n, --namespace="" β€” Kubernetes namespace.
  • -l, --selector="app=istiod" β€” label selector.
  • --vklog=0 β€” number for the log level verbosity. Like -v flag. ex: --vklog=9.

πŸ”₯ EXAMPLE πŸ”₯

run these exactly, bestie β€” copy/paste is your friend here:

# Retrieve information about istiod logging levels.
istioctl admin log

# Retrieve information about istiod logging levels on a specific control plane pod.
istioctl admin l istiod-5c868d8bdd-pmvgg

# Update levels of the specified loggers and stack trace.
istioctl admin log --level ads:debug,authorization:debug --stack-trace-level ads:debug,adsc:debug

# Retrieve information about istiod logging levels for a specified revision.
istioctl admin log --revision v1

# Reset levels of all the loggers to default value (info).
istioctl admin log --log-reset

# Reset all stack stace levels to default value. (none)
istioctl admin log --stack-trace-reset

# Reset levels of all the loggers and stack stace to default value.
istioctl admin log --log-reset

🌈 SEE ALSO 🌈


and that's the page, bestie! Auto generated by spf13/cobra, dated Jan 1980, and it's the ISTIOCTL-ADMIN-LOG(1) manual. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from