Docs Self-Managed Reference rpk Commands rpk redpanda rpk redpanda admin rpk redpanda admin config rpk redpanda admin config log-level set This is documentation for Self-Managed v24.1. To view the latest available version of the docs, see v24.3. rpk redpanda admin config log-level set This command is not supported on macOS, Windows. Set broker logger’s log level. This command temporarily changes a broker logger’s log level. Each Redpanda broker has many loggers, and each can be individually changed. Any change to a logger persists for a limited amount of time, so as to ensure you do not accidentally enable debug logging permanently. It is optional to specify a logger; if you do not, this command will prompt from the set of available loggers. The special logger all enables all loggers. Alternatively, you can specify many loggers at once. To see all possible loggers, run the following command: redpanda --help-loggers This command accepts loggers that it does not know of to ensure you can independently update your redpanda installations from rpk. The success or failure of enabling each logger is individually printed. Usage rpk redpanda admin config log-level set [LOGGERS...] [flags] Flags Value Type Description -e, --expiry-seconds int seconds to persist this log level override before redpanda reverts to its previous settings (if 0, persist until shutdown) (default 300). -h, --help - Help for set. --host string Either a hostname or an index into rpk.admin_api.addresses config section to select the hosts to issue the request to. -l, --level string Log level to set (error, warn, info, debug, trace) (default: "debug"). --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk redpanda admin config rpk redpanda admin config log-level