Skip to content
✨ agentgateway has joined the Agentic AI Foundation (AAIF) — Learn more

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Page as Markdown

agctl controller log

Reference for the agctl controller log command.

Get or set controller log levels

Synopsis

Get or set log levels on the Agentgateway controller.

With no flags, prints the current log level for each component.

Examples: agctl controller log # show current levels agctl controller log –level debug # set all components to debug agctl controller log –set reconciler=debug # set a single component agctl controller log –set reconciler=debug –set xds=info # set multiple

When multiple controller pods are running, all are targeted and output is prefixed per pod. All pods are attempted even if one fails.

agctl controller log [flags]

Options

  -p, --controller-admin-port int   Controller admin port (default 9095)
  -h, --help                        help for log
      --level string                Set log level for all components (error|warn|info|debug|trace)
  -n, --namespace string            Namespace where the controller is running (default "agentgateway-system")
      --set stringArray             Set a component log level: component=level (may be repeated)

Options inherited from parent commands

  -k, --kubeconfig string   kubeconfig

SEE ALSO

Was this page helpful?
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.